Merge pull request #950 from bkaradzic/revert-949-pr/ios-framebuffer-invalidate-fix
Revert "glInvalidateFramebuffer: iOS (iPad Mini 2, iOS 10.0.1) invalid enum work around"
This commit is contained in:
commit
af1bd417ca
@ -5982,7 +5982,7 @@ namespace bgfx { namespace gl
|
|||||||
{
|
{
|
||||||
if ( (BGFX_CLEAR_DISCARD_DEPTH|BGFX_CLEAR_DISCARD_STENCIL) == dsFlags)
|
if ( (BGFX_CLEAR_DISCARD_DEPTH|BGFX_CLEAR_DISCARD_STENCIL) == dsFlags)
|
||||||
{
|
{
|
||||||
buffers[idx++] = GL_DEPTH_ATTACHMENT|GL_STENCIL_ATTACHMENT;
|
buffers[idx++] = GL_DEPTH_STENCIL_ATTACHMENT;
|
||||||
}
|
}
|
||||||
else if (BGFX_CLEAR_DISCARD_DEPTH == dsFlags)
|
else if (BGFX_CLEAR_DISCARD_DEPTH == dsFlags)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user