From 5b889f7f2d7a5dcac1250a81bcfc69c003b03619 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 23 Mar 2006 18:58:48 +0000 Subject: [PATCH] INTEL_PACKCOLOR() no longer needed --- src/mesa/drivers/dri/i915/intel_context.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h index 4809f7d96df..ef59c406640 100644 --- a/src/mesa/drivers/dri/i915/intel_context.h +++ b/src/mesa/drivers/dri/i915/intel_context.h @@ -369,13 +369,6 @@ do { \ ((a<<24) | (r<<16) | (g<<8) | b) -#define INTEL_PACKCOLOR(format, r, g, b, a) \ -(format == DV_PF_555 ? INTEL_PACKCOLOR1555(r,g,b,a) : \ - (format == DV_PF_565 ? INTEL_PACKCOLOR565(r,g,b) : \ - (format == DV_PF_8888 ? INTEL_PACKCOLOR8888(r,g,b,a) : \ - 0))) - - /* ================================================================ * From linux kernel i386 header files, copes with odd sizes better