Win32 part of fast Pbuffer

This commit is contained in:
Elias Naur 2004-07-24 21:19:08 +00:00
parent afe90249cf
commit 79813c8f5a
5 changed files with 104 additions and 94 deletions

View file

@ -108,7 +108,7 @@ static bool createPbufferUsingUniqueContext(JNIEnv *env, PbufferInfo *pbuffer_in
XFree(configs);
return false;
}
GLXContext context = glXCreateNewContext(getDisplay(), configs[0], GLX_RGBA_TYPE, getCurrentContext(), True);
GLXContext context = glXCreateNewContext(getDisplay(), configs[0], GLX_RGBA_TYPE, getCurrentGLXContext(), True);
if (context == NULL) {
XFree(configs);
throwException(env, "Could not create a GLX context");