more workaround for glDrawBuffers issue

This commit is contained in:
Erwin Coumans
2014-06-24 20:24:31 -07:00
parent 4189a9a67f
commit b063cfc509

View File

@@ -66,9 +66,9 @@ bool GLRenderToTexture::enable()
} }
case RENDERTEXTURE_DEPTH: case RENDERTEXTURE_DEPTH:
{ {
GLenum drawBuffers[2] = {GL_DEPTH_ATTACHMENT,0}; GLenum drawBuffers[2] = { GL_NONE, 0 };// GL_DEPTH_ATTACHMENT, 0};
glDrawBuffers(1, drawBuffers); glDrawBuffers(1, drawBuffers);
//glDrawBuffer(GL_NONE); // glDrawBuffer(GL_NONE);
break; break;
} }
default: default: