Re: [sdljava-users] glew initialisation too early in gljava
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-08-31 01:31:36
|
I will do this over the weekend and it will be checked into CVS. -Ivan/ Gregor M=FCckl wrote: >Please go ahead. When will the changes be available (in CVS or as a rele= ase)? > >Regards, >Gregor > >On Tuesday 30 August 2005 03:43, Ivan Z. Ganza wrote: > =20 > >>Sounds good. Thanks for letting me know about this. >> >>I will make it so that the user of the library has to initialize it >>themselves via a static init function. If this sounds wrong please let >>me know, otherwise, I will go ahead and implement it. >> >>-Ivan/ >> >>Gregor M=FCckl wrote: >> =20 >> >>>Hi! >>> >>>I discovered that the initialisation of glew happens far to early in >>>gljava, thus crashing any program that wants to use it. The reason is >>>that newer nvidia drivers (correctly) don't return a value on >>>glGetString(GL_VERSION) unless there is a valid glx context from which >>>this function is called. See glxinfo as an example on how it should be >>>done. >>> >>>The glew initialisation sits in a static block which is executed on >>>program startup, far too early to give the program a chance to create = a >>>context. Maybe you should move that to a user-callable init function >>>instead of executing it automatically? >>> >>>Regards, >>>Gregor >>> >>> >>>------------------------------------------------------- >>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>>Practices Agile & Plan-Driven Development * Managing Projects & Teams = * >>>Testing & QA Security * Process Improvement & Measurement * >>>http://www.sqe.com/bsce5sf >>>_______________________________________________ >>>sdljava-users mailing list >>>sdl...@li... >>>https://lists.sourceforge.net/lists/listinfo/sdljava-users >>> =20 >>> >>------------------------------------------------------- >>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 the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practi= ces >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5s= f >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > =20 > |