Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use saved texture information and FBOs to access texture contents.

  • Loading branch information...
commit 7a60f1144f59dee5d163324e6012a807de73eb13 1 parent c04b835
@afrantzis afrantzis authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 glstate.cpp
View
4 glstate.cpp
@@ -682,7 +682,7 @@ dumpTextureImage(JSONWriter &json, GLenum target, GLint level, TextureInfo &info
resetPixelPackState();
- getTexImage(target, level, info, false, pixels);
+ getTexImage(target, level, info, true, pixels);
restorePixelPackState();
@@ -713,7 +713,7 @@ dumpTexture(JSONWriter &json, GLenum target, GLenum binding)
do {
TextureInfo info;
- getTextureInfo(target, level, false, info);
+ getTextureInfo(target, level, true, info);
if (!info.width || !info.height) {
break;
}
Please sign in to comment.
Something went wrong with that request. Please try again.