Drawing to render a buffer without using renderbufferStorage: fromDrawable:

I edited my question, I found a question / answer that seems to be on the same line as mine ( Draw in an offscreen renderbuffer in OpenGL ES (iPhone) ). I want to not use presentRenderBuffer: and renderbufferStorage: fromDrawable: and drawing for texture seems like the best option.

The reason I need to do this is because the application is being ported from iOS to Mac, and I used the Chameleon project to perform some of these actions, so I cannot use NSOpenGLView, but I also cannot use EAGLContext, as this was not migrated through the project.

I tried to follow the advice of Quakeboy, but I could not get it to work, I tried to use it on the Xcode4 iOS OpenGL-ES project by default. If anyone could provide me help on how to convert the project to default using its method, I should be able to figure it out for my application.

+4
source share

All Articles