Call sio2InitGL

View previous topic View next topic Go down

Call sio2InitGL

Post  zyzyandzyzy on Sun Sep 20, 2009 10:01 am

Hi,

I wonder does it cause memory leak or other problem if I call sio2InitGL more than once, actually I don't find any method like sio2ShutDownGL, so I suppose sio2InitGL doesn't malloc any new memory.
Am I right?

Thanks,
Yi

zyzyandzyzy

Posts : 11
Join date : 2009-09-18

View user profile

Back to top Go down

Re: Call sio2InitGL

Post  sio2interactive on Sun Sep 20, 2009 4:07 pm

Basically initGL just set some machine states to the default that SIO2 expect them... and that's it... the initialization of the GL context for the targeted platform is out of the scope of SIO2.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum