projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814be04
)
Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does
author
Jon TURNEY
<jon.turney@dronecode.org.uk>
Thu, 9 Sep 2010 12:43:11 +0000
(13:43 +0100)
committer
Jon TURNEY
<jon.turney@dronecode.org.uk>
Mon, 6 Feb 2012 23:00:44 +0000
(23:00 +0000)
There is a mismatch between the way the X server and GLX library
calculates the image size for format GL_DEPTH_STENCIL(|_NV|_EXT)
See https://bugs.freedesktop.org/show_bug.cgi?id=30102
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/glx/compsize.c
patch
|
blob
|
history
diff --git
a/src/glx/compsize.c
b/src/glx/compsize.c
index f69ffaba31619336b3946bfad77561a812b86099..99c7763c7f99793d932e29a773c98c07b3cc9f1a 100644
(file)
--- a/
src/glx/compsize.c
+++ b/
src/glx/compsize.c
@@
-71,6
+71,7
@@
__glElementsPerGroup(GLenum format, GLenum type)
case GL_422_REV_EXT:
case GL_422_AVERAGE_EXT:
case GL_422_REV_AVERAGE_EXT:
+ case GL_DEPTH_STENCIL_NV:
case GL_YCBCR_422_APPLE:
case GL_LUMINANCE_ALPHA:
return 2;