mirror of https://github.com/axmolengine/axmol.git
fix GL_EXT_discard_framebuffer always disable in EAGLView.mm;
This commit is contained in:
parent
06ca84ba68
commit
83c99b5b1c
|
@ -237,8 +237,7 @@ static CCEAGLView *view = 0;
|
|||
|
||||
context_ = [renderer_ context];
|
||||
|
||||
|
||||
//discardFramebufferSupported_ = [[Configuration sharedConfiguration] supportsDiscardFramebuffer];
|
||||
discardFramebufferSupported_ = (BOOL)GL_EXT_discard_framebuffer;
|
||||
|
||||
CHECK_GL_ERROR();
|
||||
|
||||
|
@ -288,7 +287,7 @@ static CCEAGLView *view = 0;
|
|||
glResolveMultisampleFramebufferAPPLE();
|
||||
}
|
||||
|
||||
if( discardFramebufferSupported_)
|
||||
if(discardFramebufferSupported_)
|
||||
{
|
||||
if (multiSampling_)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue