Bugs item #2842959, was opened at 2009-08-23 10:06
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2842959&group_id=64325

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Nobody/Anonymous (nobody)
Summary: [print(  message to [gemwin] may crash

Initial Comment:
sending a [print( message to [gemwin] will usually display a lot of information 
about the openGL system (like driver-version)

however, if no openGL-context has been established yet (e.g. because no one 
[create(d a window yet), this might crash.

the reason is that glGetString() crashes.
the function pointer is NOT set to NULL.


this happened with current svn on debian, while testing indirect rendering on 
my eee (using mesa on a i945GME)

proposed fix: use a static variable that indicates whether the context has been 
initialized properly and don't call glGetString() unless this has happened...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=507079&aid=2842959&group_id=64325

_______________________________________________
GEM-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/gem-dev

Reply via email to