From dad95c112f09b9978d71ababe80c4e34121d49f0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 17 Apr 2011 10:44:46 -0700 Subject: [PATCH] intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype(). Fixes warnings in fbo-storage-formats. Reviewed-by: Brian Paul --- src/mesa/drivers/dri/intel/intel_tex_format.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2