mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2026-08-01 14:19:12 -06:00
Workaround: Initialize GL capabilities early for gl4es
This commit is contained in:
parent
db7881792f
commit
2293664bd4
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ public class Display {
|
|||
|
||||
mode = desktopDisplayMode = new DisplayMode(monitorWidth, monitorHeight, monitorBitPerPixel, monitorRefreshRate);
|
||||
LWJGLUtil.log("Initial mode: " + desktopDisplayMode);
|
||||
if("opengles2".equals(System.getenv("POJAV_RENDERER"))) GLContext.initCapabilities();
|
||||
}
|
||||
|
||||
public static void setSwapInterval(int value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue