On Mon, Jan 04, 2010 at 08:41:57AM +0000, guest wrote: > Hello > Is there a similar way as described at > http://wiki.libagar.org/wiki/Integrating_Agar_in_an_existing_GL_application > for an a SDL application?
Calling AG_InitVideoSDL() instead of AG_InitVideo() will cause Agar to use an existing SDL display surface. If you have to use an existing event loop as well, see: http://wiki.libagar.org/wiki/Custom_Event_Loop. Note that this example uses undocumented APIs such as AG_ProcessEvent(), which will not be available under Agar-1.4. _______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
