projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916e749
)
disable GL_INTENTSITY in _mesa_is_legal_format_and_type(). See table 3.6 of the...
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:47:22 +0000
(22:47 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:47:22 +0000
(22:47 +0000)
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 03f6aff339172ac100159456f979738afa8d790a..57fe6c3fbf7d9fc67df37e330f8d8061503ab24b 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-358,7
+358,9
@@
_mesa_is_legal_format_and_type( GLcontext *ctx, GLenum format, GLenum type )
case GL_GREEN:
case GL_BLUE:
case GL_ALPHA:
+#if 0 /* not legal! see table 3.6 of the 1.5 spec */
case GL_INTENSITY:
+#endif
case GL_LUMINANCE:
case GL_LUMINANCE_ALPHA:
case GL_DEPTH_COMPONENT: