mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
TEST: disable calling OSMesaMakeCurrent from LWJGL side
This commit is contained in:
parent
bf4340c564
commit
6064d85e41
@ -363,8 +363,8 @@ public final class GL {
|
|||||||
nativeRegalMakeCurrent();
|
nativeRegalMakeCurrent();
|
||||||
}
|
}
|
||||||
} else if (System.getenv("POJAV_RENDERER").equals("vulkan_zink")) {
|
} else if (System.getenv("POJAV_RENDERER").equals("vulkan_zink")) {
|
||||||
int[] dims = getNativeWidthHeight();
|
//int[] dims = getNativeWidthHeight();
|
||||||
callJPI(GLFW.glfwGetCurrentContext(),getGraphicsBufferAddr(),GL_UNSIGNED_BYTE,dims[0],dims[1],functionProvider.getFunctionAddress("OSMesaMakeCurrent"));
|
//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
|
// We don't have a current ContextCapabilities when this method is called
|
||||||
|
Loading…
x
Reference in New Issue
Block a user