Created
October 25, 2014 09:49
-
-
Save zzuegg/592b73549048ba5ae172 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final GLWindow glWindow = GLWindow.create(capabilities); | |
glWindow.setFullscreen(settings.isFullscreen()); | |
glWindow.setSize(settings.getResolutionX(), settings.getResolutionY()); | |
final JoglGraphicsContext newContext = new JoglGraphicsContextSurface(graphicsModuleJogl, capabilities, profile, glWindow, settings); | |
final GLContext newGlContext = glWindow.createContext(context); | |
glWindow.setContext(newGlContext, true); | |
glWindow.setVisible(true); | |
newContext.update(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment