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/GLcommon/GLEScontext.cpp | |
| 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/GLcommon/GLEScontext.cpp')
| -rw-r--r-- | emulator/opengl/host/libs/Translator/GLcommon/GLEScontext.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/emulator/opengl/host/libs/Translator/GLcommon/GLEScontext.cpp b/emulator/opengl/host/libs/Translator/GLcommon/GLEScontext.cpp index 46f039c..c0519c4 100644 --- a/emulator/opengl/host/libs/Translator/GLcommon/GLEScontext.cpp +++ b/emulator/opengl/host/libs/Translator/GLcommon/GLEScontext.cpp @@ -330,10 +330,8 @@ void GLEScontext::convertDirectVBO(GLESConversionArrays& cArrs,GLint first,GLsiz RangeList ranges; RangeList conversions; GLushort* indices = NULL; - GLenum type = p->getType(); int attribSize = p->getSize(); int stride = p->getStride()?p->getStride():sizeof(GLfixed)*attribSize; - unsigned int size = p->getStride()?p->getStride()*count:attribSize*count*sizeof(GLfixed); char* data = (char*)p->getBufferData() + (first*stride); if(p->bufferNeedConversion()) { @@ -389,7 +387,6 @@ void GLEScontext::convertIndirectVBO(GLESConversionArrays& cArrs,GLsizei count,G RangeList ranges; RangeList conversions; GLushort* conversionIndices = NULL; - GLenum type = p->getType(); int attribSize = p->getSize(); int stride = p->getStride()?p->getStride():sizeof(GLfixed)*attribSize; char* data = static_cast<char*>(p->getBufferData()); |
