Drop unneeded ifdef
This commit is contained in:
parent
905a1a9fb1
commit
aee51246a5
1 changed files with 0 additions and 3 deletions
|
|
@ -207,8 +207,6 @@ bool TextureDraw::draw(GLuint texture) {
|
||||||
s_gles2.glBindTexture(GL_TEXTURE_2D, texture);
|
s_gles2.glBindTexture(GL_TEXTURE_2D, texture);
|
||||||
s_gles2.glUniform1i(mTextureSlot, 0);
|
s_gles2.glUniform1i(mTextureSlot, 0);
|
||||||
|
|
||||||
|
|
||||||
#if 1
|
|
||||||
// Validate program, just to be sure.
|
// Validate program, just to be sure.
|
||||||
s_gles2.glValidateProgram(mProgram);
|
s_gles2.glValidateProgram(mProgram);
|
||||||
GLint validState = 0;
|
GLint validState = 0;
|
||||||
|
|
@ -220,7 +218,6 @@ bool TextureDraw::draw(GLuint texture) {
|
||||||
ERR("%s: Could not run program: %s\n", __FUNCTION__, messages);
|
ERR("%s: Could not run program: %s\n", __FUNCTION__, messages);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// Do the rendering.
|
// Do the rendering.
|
||||||
s_gles2.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer);
|
s_gles2.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue