From: Eric Anholt Date: Sun, 17 Apr 2011 17:44:46 +0000 (-0700) Subject: intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dad95c112f09b9978d71ababe80c4e34121d49f0;p=mesa.git intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype(). Fixes warnings in fbo-storage-formats. Reviewed-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/intel/intel_tex_format.c b/src/mesa/drivers/dri/intel/intel_tex_format.c index 87745bc66d4..9a6c24bf0d8 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: