Mesa (texformat-rework): dri/common: fix broken _dri_texformat_* initializations

Brian Paul brianp at kemper.freedesktop.org
Thu Oct 15 20:49:50 UTC 2009


Module: Mesa
Branch: texformat-rework
Commit: 9bf2aa33298db5af9128ad8f625321be47ab65c3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bf2aa33298db5af9128ad8f625321be47ab65c3

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Oct 15 14:49:53 2009 -0600

dri/common: fix broken _dri_texformat_* initializations

---

 src/mesa/drivers/dri/common/texmem.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c
index c9c3324..e8880d9 100644
--- a/src/mesa/drivers/dri/common/texmem.c
+++ b/src/mesa/drivers/dri/common/texmem.c
@@ -1312,10 +1312,10 @@ gl_format _dri_texformat_rgb565 = MESA_FORMAT_NONE;
 gl_format _dri_texformat_argb4444 = MESA_FORMAT_NONE;
 gl_format _dri_texformat_argb1555 = MESA_FORMAT_NONE;
 gl_format _dri_texformat_al88 = MESA_FORMAT_NONE;
-gl_format _dri_texformat_a8 = MESA_FORMAT_NONE;
-gl_format _dri_texformat_ci8 = MESA_FORMAT_NONE;
-gl_format _dri_texformat_i8 = MESA_FORMAT_NONE;
-gl_format _dri_texformat_l8 = MESA_FORMAT_NONE;
+gl_format _dri_texformat_a8 = MESA_FORMAT_A8;
+gl_format _dri_texformat_ci8 = MESA_FORMAT_CI8;
+gl_format _dri_texformat_i8 = MESA_FORMAT_I8;
+gl_format _dri_texformat_l8 = MESA_FORMAT_L8;
 /*@}*/
 
 




More information about the mesa-commit mailing list