Closed ericnormand closed 14 years ago
This is apparently because the system in question doesn't support a 800x600 display mode. I need to make that size a hint rather than an imperative.
It will now search for the closest resolution to what is requested. This should work in 0.6.0, even though you have a weird display driver.
Hi, I'm trying to run the examples in the 0.5.0 branch. The window opens with a black background.
I could not find out how to solve this problem.
I get this error:
mode must be non-null [Thrown class java.lang.NullPointerException]
Restarts: 0: [ABORT] Return to SLIME's top level.
Backtrace: 0: org.lwjgl.opengl.Display.setDisplayMode(Display.java:243) 1: penumbra.app.window$display_mode_BANG_6560.invoke(window.clj:59) 2: penumbra.app.window$display_modeBANG6560.invoke(window.clj:53) 3: clojure.lang.AFn.applyToHelper(AFn.java:175) 4: clojure.lang.AFn.applyTo(AFn.java:164) 5: clojure.core$apply4370.invoke(core.clj:436) 6: penumbra.app.window$init6610.invoke(window.clj:140) 7: penumbra.app$init7210.invoke(app.clj:295) 8: penumbra.app$start_single_thread7227.invoke(app.clj:324) 9: penumbra.app$start7240.invoke(app.clj:366) 10: penumbra.app$start7240.invoke(app.clj:363) 11: example.game.asteroids$start__7736.invoke(asteroids.clj:371)