TEST: disable calling OSMesaMakeCurrent from LWJGL side

This commit is contained in:
Duy Tran Khanh 2021-11-07 15:22:40 +07:00 committed by GitHub
parent bf4340c564
commit 6064d85e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,8 +363,8 @@ public final class GL {
nativeRegalMakeCurrent();
}
} else if (System.getenv("POJAV_RENDERER").equals("vulkan_zink")) {
int[] dims = getNativeWidthHeight();
callJPI(GLFW.glfwGetCurrentContext(),getGraphicsBufferAddr(),GL_UNSIGNED_BYTE,dims[0],dims[1],functionProvider.getFunctionAddress("OSMesaMakeCurrent"));
//int[] dims = getNativeWidthHeight();
//callJPI(GLFW.glfwGetCurrentContext(),getGraphicsBufferAddr(),GL_UNSIGNED_BYTE,dims[0],dims[1],functionProvider.getFunctionAddress("OSMesaMakeCurrent"));
}
// We don't have a current ContextCapabilities when this method is called