5587f9b771
This was causing a crash randomly, due to random memory contents.
Use xcalloc to prevent this in the future, due to future changes or mistakes.
Set the drawableType to include GLX_PIXMAP_BIT and GLX_PBUFFER_BIT.
The new libGL supports these.
Set the max Pbuffer width/height, based on the results of a test program.
We may someday want to revisit this depending on what users need, so that
we create a CGLContextObj, make it current, and call glGetIntegerv to
gather the information at runtime.
(cherry picked from commit
|
||
---|---|---|
.. | ||
capabilities.c | ||
capabilities.h | ||
glcontextmodes.c | ||
glcontextmodes.h | ||
indirect.c | ||
Makefile.am | ||
visualConfigs.c | ||
visualConfigs.h |