aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-03-27 17:23:17 +0100
committerDavid 'Digit' Turner <digit@google.com>2014-04-01 10:22:22 +0200
commit3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2 (patch)
tree99ffd8b7e5ca999624bd285fa2cbddfbd3bf6e6f /emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp
parentd06559227bc6071c96572334d2a2e3f6eb4de96d (diff)
downloadsdk-3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2.zip
sdk-3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2.tar.gz
sdk-3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2.tar.bz2
emulator/opengl: Fix misc. compiler warnings.
These warnings appear when building the sources through the emulator's standalone build system, not the platform one. Change-Id: Ib5d51cf6211f32763be00c7436ae14c06f76b436
Diffstat (limited to 'emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp')
-rw-r--r--emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp b/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp
index c3886d3..c96ba52 100644
--- a/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp
+++ b/emulator/opengl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp
@@ -867,7 +867,6 @@ GL_APICALL void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname,
GET_CTX();
SET_ERROR_IF(!(GLESv2Validate::bufferTarget(target) && GLESv2Validate::bufferParam(pname)),GL_INVALID_ENUM);
SET_ERROR_IF(!ctx->isBindedBuffer(target),GL_INVALID_OPERATION);
- bool ret = true;
switch(pname) {
case GL_BUFFER_SIZE:
ctx->getBufferSize(target,params);