Update GL.java
This commit is contained in:
1 parent
b5c43b399f
commit
b73cf700a9
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user