Re: [Plib-users] PLIB with SDL?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-01-21 01:57:43
|
SkyFlash wrote: > I read you can use PLIB with SDL.... anyone ever did that? The only place where PLIB cares what system opened the OpenGL window is in PUI where we ask for the size of the window using GLUT calls. Even that can be turned off with a compile time option. > The problem is that my app already uses SDL and SDL_Net and there is no > way to get it out of it, > > and I cant seem to get both GLUT AND SDL working together peacefully. > Which I actually didnt even expect. No - don't try to mix GLUT and SDL - that certianly won't work. > So, how can I use ssg and draw in the SDL screen? Just make sure you have the SDL window open and able to accept OpenGL calls when you call ssgInit() - and then it should work just fine. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |