mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 22:50:04 +00:00
Merge branch 'master' of https://github.com/bulletphysics/bullet3
This commit is contained in:
commit
16d759af6f
@ -66,7 +66,7 @@ bool GLRenderToTexture::enable()
|
||||
}
|
||||
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);
|
||||
// glDrawBuffer(GL_NONE);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user