GHOST: Fix missing glXCreatePbuffer initialisation.
For some reason this happened if no windows are created before creating an offscreen context.
This commit is contained in:
@@ -149,7 +149,9 @@ GHOST_TSuccess GHOST_ContextGLX::initializeDrawingContext()
|
||||
(glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glXGetProcAddressARB(
|
||||
(const GLubyte *)"glXChooseFBConfig")) == NULL ||
|
||||
(glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glXGetProcAddressARB(
|
||||
(const GLubyte *)"glXCreateContextAttribsARB")) == NULL)
|
||||
(const GLubyte *)"glXCreateContextAttribsARB")) == NULL ||
|
||||
(glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glXGetProcAddressARB(
|
||||
(const GLubyte *)"glXCreatePbuffer")) == NULL)
|
||||
{
|
||||
extStart = (GLubyte *)"";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user