mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 23:14:19 +00:00
Win32 part of fast Pbuffer
This commit is contained in:
parent
afe90249cf
commit
79813c8f5a
5 changed files with 104 additions and 94 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue