projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
888059d
)
Fix GL_COMPRESSED_TEXTURE_FORMATS query in null context
author
Pyry Haulos
<phaulos@google.com>
Thu, 21 Jan 2016 00:23:00 +0000
(16:23 -0800)
committer
Pyry Haulos
<phaulos@google.com>
Thu, 21 Jan 2016 00:23:00 +0000
(16:23 -0800)
Change-Id: I376262d594e080de8a03c2bc1f248ce374066f3f
framework/platform/null/tcuNullRenderContext.cpp
patch
|
blob
|
history
diff --git
a/framework/platform/null/tcuNullRenderContext.cpp
b/framework/platform/null/tcuNullRenderContext.cpp
index
b91d2ee
..
61b6640
100644
(file)
--- a/
framework/platform/null/tcuNullRenderContext.cpp
+++ b/
framework/platform/null/tcuNullRenderContext.cpp
@@
-361,7
+361,7
@@
GLW_APICALL void GLW_APIENTRY glGetIntegerv (GLenum pname, GLint* params)
break;
case GL_COMPRESSED_TEXTURE_FORMATS:
- deMemcpy(params, &ctx->compressedTextureList[0],
(int)ctx->compressedTextureList.size(
));
+ deMemcpy(params, &ctx->compressedTextureList[0],
ctx->compressedTextureList.size()*sizeof(deUint32
));
break;
case GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: