Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

keisi

macrumors newbie
Original poster
Aug 27, 2011
7
0
Hello Everyone,

I am in the process of converting an iPad app over to the desktop, I have handled all of the UIKit menu's using custom classes or the Chameleon project where applicable. But for the main gameplay I have to convert an EAGLView to I believe an NSOpenGLView, (I do not know much - if any - OpenGL), every thing seemed to work correctly until I got to the EAGLContext methods 'presentRenderBuffer:' and 'renderstoragebuffer:fromdrawable:'. As I understand it renderstoragebuffer:fromdrawable: equates to glRenderbufferStorage() (from the iOS documentation) - Is this correct or is there more I would need to replace? Also, how would I then go about displaying this - or what is an alternative to presentrendurBuffer: for the mac?

Any help on this would be appreciated - and if you need clarification please ask.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.