Fix typo with isAllowTexture2D for hardware tesselation

This commit is contained in:
Henrik Rydgard committed 2017-03-03 12:32:01 +01:00
1 parent 83c108836b
commit 147d311acb
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1118,7 +1118,7 @@ bool DrawEngineGLES::IsCodePtrVertexDecoder(const u8 *ptr) const {
void DrawEngineGLES::TessellationDataTransferGLES::SendDataToShader(const float *pos, const float *tex, const float *col, int size, bool hasColor, bool hasTexCoords) {
#ifndef USING_GLES2
if (isAllowTexture1D) {
if (isAllowTexture1D_) {
// Position
glActiveTexture(GL_TEXTURE4);
glBindTexture(GL_TEXTURE_1D, data_tex[0]);