commit | 6a6e6d7b0a84e20f9754af02a575ae34081d310c | [log] [tgz] |
---|---|---|
author | Michel Dänzer <daenzer@vmware.com> | Tue Sep 07 19:49:06 2010 +0200 |
committer | Michel Dänzer <michel@daenzer.net> | Tue Sep 07 19:54:16 2010 +0200 |
tree | 4d8e2fec5f27b8833b710f1e380bd36b85d44e0e | |
parent | 5afdfa222fa9ec8c54e7d6957d2680c37a9eb715 [diff] |
Fix crashes when some GLX API entrypoints are called with no current context. I was hitting this with gliv. The GLX spec explicitly mentions that glXWaitX, glXWaitGL and glXUseXFont calls are ignored when there's no current context. Not sure what if anything the GLX_EXT_texture_from_pixmap spec says about this, but I think ignoring the calls makes more sense than crashing there as well. :)