Re: [sdljava-users] SWIG_glew_init();
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-09-15 02:30:17
|
sdljava should integrate seamlessly with gljava. Nothing should prevent gljava from being used on its own though. You just need to initialize the library on your own -- which your already doing. I'm going to split out the gljava specific classes into their own jar (gljava.jar) soon as well. So you won't need to include any part of sdljava to work with it. ...in other news I've added the method GlewImpl.init() which calls SWIG_glew_init() for you. Everyone should use this method from now on to initialize the library on its own. -Ivan/ Gregor M=FCckl wrote: >Hi! > >This is perfectly good when someone uses SDL with OpenGL. However, I jus= t want=20 >to mention that I use org.gljava.opengl without any SDL-related part of=20 >sdljava, because the rest of the UI is provided by gtk (with thorougly m= ixed=20 >results, though). This means that I still need to call SWIG_glew_init=20 >directly. I agree that this is not very pretty, but it's a solution and = I can=20 >live with it. > >Regards, >Gregor > >On Tuesday 13 September 2005 05:10, Ivan Z. Ganza wrote: > =20 > >>Greetings, >> >>I've added code in SDLSurface.setVideoMode(int, int, int, long) which >>calls SWIG_glew_init() if the surface has an OpenGL context. I didn't >>really like the idea of people having to calls this externally on their >>own. Please let me know if it causes any problems. >> >>-Ivan/ >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf >>_______________________________________________ >>sdljava-users mailing list >>sdl...@li... >>https://lists.sourceforge.net/lists/listinfo/sdljava-users >> =20 >> > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Down= load >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > =20 > |