summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h
diff options
context:
space:
mode:
authorLiran <liran@graphtech.co.il>2011-08-01 10:01:54 +0300
committerDavid 'Digit' Turner <digit@android.com>2011-08-10 10:08:05 +0200
commit8ee217f9cc21e26f3dd5b52be038475a3818298f (patch)
tree3c0c28b7a9bf1239f05a74880eff8f74cf5e822a /tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h
parentd2fae7055e060af39b438f0dd921ea9473f08669 (diff)
opengles emulator: fix glGetUnifrom
added state tracking for uniforms in program objects for each active uniform in index i we will save its starting location ,size and type, so when calling glGetUniform on its location, we can tell how many bytes we should read from the stream according to the uniform's type add some type and size definitions to functions that calculate size from enum some other fixes to the codec Change-Id: I4ecdf41e752454a908d131e76bab113a616f2bc8
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h')
-rw-r--r--tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h b/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h
index b7fcff565..bc895d750 100644
--- a/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h
+++ b/tools/emulator/opengl/shared/OpenglCodecCommon/GLClientState.h
@@ -167,6 +167,7 @@ public:
handled = false;
break;
default:
+ handled = false;
ERR("unknown vertex-attrib parameter param %d\n", param);
}
return handled;