Errors showing for OES OpenGL statements in Xcode 6 for iOS8

后端 未结 2 722
半阙折子戏
半阙折子戏 2021-02-01 23:50

Xcode 6 iOS SDK 8.0 in Yosemite is giving me errors for OpenGL ES2 code which compiles fine under Xcode 5

GLuint depthStencilRenderbuffer;
glBindRenderbufferOES(         


        
2条回答
  •  迷失自我
    2021-02-02 00:33

    Try:

    #import 
    

    or

    #import 
    

    works for me.

    Without it, app which correctlyworking on xcode 6 + ios7 can find GL_FALSE and others..

提交回复
热议问题