projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc57df0
)
intel: Add I8 and L8 to intel_mesa_format_to_rb_datatype().
author
Eric Anholt
<eric@anholt.net>
Sun, 17 Apr 2011 17:44:46 +0000
(10:44 -0700)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_format.c
b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 87745bc66d4b528c2fbaa62daecb4a964f2c7c33..9a6c24bf0d83ef77b8574adb734cab4e236fd630 100644
(file)
--- 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: