ios - Multisample framebuffer failed to make in GLKView error 8cdd -


i'm creating glkview above view draw lines on. have got strange problem. task need use multi-sampling done line

self.drawablemultisample = glkviewdrawablemultisample4x; 

in constructor. on simulator on ios 7.1/7/6.1 got expected result. on ipad mini 1 same result.

edit: ipad 2 works.

but if use ipad 1 (5.1) or ipad 4 (7.1) following error.

failed make complete multisample framebuffer object 8cdd

if check error

gluint returned = glcheckframebufferstatusoes(gl_framebuffer_oes); nslog(@"error code: %x -->", returned); 

i error code: 8219 on ipad 4 , error code: 8cdd on ipad 1

and no drawing done of course. if disable multi-sampling there no error. class used in big project , subclassed. using super class not solve problem. glk done in code superview simple uiview .xib file.

if use class in new project making glkview in storyboard class, multi-sampling works fine.

if further informations needed don't hesitate ask. in advance.

update:

there seems problem after setting frame of glkview on non a5-chip devices.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -