intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
authorEric Anholt <eric@anholt.net>
Sun, 17 Apr 2011 17:44:46 +0000 (10:44 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2011 18:19:54 +0000 (11:19 -0700)
Fixes warnings in fbo-storage-formats.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_tex_format.c

index 87745bc66d4b528c2fbaa62daecb4a964f2c7c33..9a6c24bf0d83ef77b8574adb734cab4e236fd630 100644 (file)
@@ -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: