more workaround for the Intel glDrawBuffers issue

This commit is contained in:
Erwin Coumans committed 2014-06-24 20:44:01 -07:00
1 parent b063cfc509
commit a7f0567d04
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ bool GLRenderToTexture::enable()
} }
case RENDERTEXTURE_DEPTH: case RENDERTEXTURE_DEPTH:
{ {
GLenum drawBuffers[2] = { GL_NONE, 0 };// GL_DEPTH_ATTACHMENT, 0}; GLenum drawBuffers[2] = { GL_COLOR_ATTACHMENT0, 0 };// GL_DEPTH_ATTACHMENT, 0};
glDrawBuffers(1, drawBuffers); glDrawBuffers(1, drawBuffers);
// glDrawBuffer(GL_NONE); // glDrawBuffer(GL_NONE);
break; break;