diff mde/gl.d @ 25:2c28ee04a4ed

Some minor and some futile efforts. Played around with init functions, had problems, gave up and put them back. Removed idea for multiple init stages; it's not good for performance or simplicity. Adjusted exception messages. committer: Diggory Hardy <diggory.hardy@gmail.com>
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 03 Apr 2008 17:26:52 +0100
parents 47478557428d
children 611f7b9063c6
line wrap: on
line diff
--- a/mde/gl.d	Thu Mar 27 16:15:21 2008 +0000
+++ b/mde/gl.d	Thu Apr 03 17:26:52 2008 +0100
@@ -21,8 +21,8 @@
 import derelict.sdl.sdl;
 import derelict.opengl.gl;
 
-static this() {
-    Scheduler.perRequest (RF_KEYS.DRAW, &draw);
+static this () {
+    Scheduler.perRequest (RF_KEYS.DRAW, &mde.gl.draw);
 }
 
 void glSetup () {