[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gl debugging help requested



On Fri, 2007-06-29 at 15:46 +0200, Hans de Goede wrote:

> Not obviously no, let me try to rephrase my earlier hint.
> 
> No (none whatsover) libGL functions (including glGenTextures) may be called 
> before an OpenGL context has been created, iow before a window suitable for 
> openGL rendering has been created. So if this apps tries to loads the textures 
> above before creating its window, then that will crash with Mesa.
> 
> The trick is to look at the sequence in which window creation (for example SDL
> _setVideoMode() with OPENGL flag, and the glGenTextures get called. 99% of all 
> crashes which in the BT point to glGenTextures() are because of glGenTextures 
> getting called before the window + openGL context is created.
> 
> I hope that helps, if not please repost the URL to the srpm and I'll take a 
> look as time permits.

That does help! I figured out what was going wrong and now it works on
x86_64. Thanks!

~spot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]