[Mesa-dev] [PATCH 14/14] intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().

Eric Anholt eric at anholt.net
Sun Apr 17 12:00:09 PDT 2011


Fixes warnings in fbo-storage-formats.
---
 src/mesa/drivers/dri/intel/intel_tex_format.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_tex_format.c b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 87745bc..9a6c24b 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_format.c
@@ -16,6 +16,8 @@ intel_mesa_format_to_rb_datatype(gl_format format)
    case MESA_FORMAT_R8:
    case MESA_FORMAT_RG88:
    case MESA_FORMAT_A8:
+   case MESA_FORMAT_I8:
+   case MESA_FORMAT_L8:
    case MESA_FORMAT_AL88:
    case MESA_FORMAT_RGB565:
    case MESA_FORMAT_ARGB1555:
-- 
1.7.4.1



More information about the mesa-dev mailing list