diff options
| author | David 'Digit' Turner <digit@google.com> | 2014-03-27 17:23:17 +0100 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2014-04-01 10:22:22 +0200 |
| commit | 3d3ebb75c82c4d8c66d9c2029dac16a1d4758dd2 (patch) | |
| tree | 99ffd8b7e5ca999624bd285fa2cbddfbd3bf6e6f /emulator/opengl/host/libs/Translator/GLES_CM | |
| parent | d06559227bc6071c96572334d2a2e3f6eb4de96d (diff) | |
| download | sdk-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_CM')
| -rw-r--r-- | emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp b/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp index 28ebca9..7ab177f 100644 --- a/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp +++ b/emulator/opengl/host/libs/Translator/GLES_CM/GLEScmImp.cpp @@ -699,8 +699,6 @@ GL_API void GL_APIENTRY glGetBooleanv( GLenum pname, GLboolean *params) { return; } - GLint i; - switch(pname) { case GL_FRAMEBUFFER_BINDING_OES: @@ -745,7 +743,6 @@ GL_API void GL_APIENTRY glGetBufferParameteriv( GLenum target, GLenum pname, GL GET_CTX() SET_ERROR_IF(!(GLEScmValidate::bufferTarget(target) && GLEScmValidate::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); @@ -787,7 +784,6 @@ GL_API void GL_APIENTRY glGetFixedv( GLenum pname, GLfixed *params) { size_t nParams = glParamSize(pname); GLfloat fParams[16]; - GLint i; switch(pname) { |
