Mesa (master): mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format ()
Brian Paul
brianp at kemper.freedesktop.org
Fri Mar 13 01:44:18 UTC 2009
Module: Mesa
Branch: master
Commit: f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3
Author: Brian Paul <brianp at vmware.com>
Date: Thu Mar 12 19:42:14 2009 -0600
mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format()
This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI.
---
src/mesa/main/image.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 5c5f9f6..804e840 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -294,6 +294,7 @@ _mesa_components_in_format( GLenum format )
case GL_DEPTH_STENCIL_EXT:
return 2;
case GL_DUDV_ATI:
+ case GL_DU8DV8_ATI:
return 2;
default:
return -1;
More information about the mesa-commit
mailing list