From 0de4bd97b750cd0fd55256c912c08f3085621acf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 12 Apr 2011 10:59:52 +0100 Subject: [PATCH] Remove __encoding__. Always base64. --- glstate.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/glstate.py b/glstate.py index 8179a25..8911c65 100644 --- a/glstate.py +++ b/glstate.py @@ -3074,7 +3074,6 @@ writeTextureImage(JSONWriter &json, GLenum target, GLint level) glGetTexImage(target, level, GL_RGBA, GL_UNSIGNED_BYTE, pixels); - json.writeStringMember("__encoding__", "base64"); json.beginMember("__data__"); json.writeBase64(pixels, depth * width * height * 4 * sizeof *pixels); json.endMember(); // __data__ @@ -3120,7 +3119,6 @@ writeDrawBufferImage(JSONWriter &json, GLenum format) glReadPixels(0, 0, width, height, format, GL_UNSIGNED_BYTE, pixels); glReadBuffer(readbuffer); - json.writeStringMember("__encoding__", "base64"); json.beginMember("__data__"); json.writeBase64(pixels, width * height * channels * sizeof *pixels); json.endMember(); // __data__ -- 2.7.4