Created
January 13, 2013 19:28
-
-
Save Pwootage/4525785 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
Caused by: org.lwjgl.LWJGLException: Could not create context (WGL_ARB_create_context) | |
21at org.lwjgl.opengl.WindowsContextImplementation.nCreate(Native Method) | |
at org.lwjgl.opengl.WindowsContextImplementation.create(WindowsContextImplementation.java:50) | |
at org.lwjgl.opengl.ContextGL.<init>(ContextGL.java:132) | |
at org.lwjgl.opengl.DrawableGL.createSharedContext(DrawableGL.java:77) | |
at org.lwjgl.opengl.DrawableGL.createSharedContext(DrawableGL.java:41) | |
at org.lwjgl.opengl.SharedDrawable.<init>(SharedDrawable.java:50) | |
at me.adanac.latura.render.world.impl.RenderUpdateThreadPool.<init>(RenderUpdateThreadPool.java:29) | |
... 5 more |
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
public RenderUpdateThreadPool(Game game) { | |
threads = new ArrayList<RenderUpdateThread>(); | |
for (int i = 0; i < Settings.getRenderThreadCount(); i++) { | |
SharedDrawable sd; | |
try { | |
sd = new SharedDrawable(Display.getDrawable()); | |
} catch (LWJGLException e) { | |
throw new Error(e); | |
} | |
RenderUpdateThread rut = new RenderUpdateThread(this, this, threadNum++, sd); | |
threads.add(rut); | |
} | |
requests = new ArrayDeque<>(); | |
running = true; | |
this.game = game; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment