]> git.cworth.org Git - apitrace/blobdiff - retrace/glstate_images.cpp
state: Drop several unused json image members.
[apitrace] / retrace / glstate_images.cpp
index dc930a8039b8c816b785ab363f444c791d80b469..484b2957b4b8ddb2efed87ac9040be4adaa4924e 100644 (file)
@@ -416,12 +416,6 @@ dumpActiveTextureLevel(JSONWriter &json, Context &context, GLenum target, GLint
 
     json.writeStringMember("__format__", formatToString(desc.internalFormat));
 
-    // Hardcoded for now, but we could chose types more adequate to the
-    // texture internal format
-    json.writeStringMember("__type__", "uint8");
-    json.writeBoolMember("__normalized__", true);
-    json.writeIntMember("__channels__", channels);
-
     image::Image *image = new image::Image(desc.width, desc.height*desc.depth, channels, true);
 
     context.resetPixelPackState();
@@ -865,12 +859,6 @@ dumpReadBufferImage(JSONWriter &json, GLint width, GLint height, GLenum format,
 
     json.writeStringMember("__format__", formatToString(internalFormat));
 
-    // Hardcoded for now, but we could chose types more adequate to the
-    // texture internal format
-    json.writeStringMember("__type__", "uint8");
-    json.writeBoolMember("__normalized__", true);
-    json.writeIntMember("__channels__", channels);
-
     GLenum type = GL_UNSIGNED_BYTE;
 
 #if DEPTH_AS_RGBA