summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-04-17 10:44:46 -0700
committerEric Anholt <[email protected]>2011-04-18 11:19:54 -0700
commitdad95c112f09b9978d71ababe80c4e34121d49f0 (patch)
treeb8d62ea9eae3eabdf1f760026825e276bdab2ba9 /src/mesa/drivers/dri
parentbc57df03568e9e1f05b9d29df8e3a7fe58d5a196 (diff)
intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
Fixes warnings in fbo-storage-formats. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_format.c2
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 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: