Changeset 16
- Timestamp:
- 06/07/04 01:08:30 (4 years ago)
- Files:
-
- trunk/DerelictGL/Makefile (modified) (2 diffs)
- trunk/DerelictGL/README.GLEE (modified) (1 diff)
- trunk/DerelictGL/derelict/opengl/gl.d (modified) (2 diffs)
- trunk/DerelictGL/glConstants.d (added)
- trunk/DerelictGL/glee.d (modified) (1 diff)
- trunk/DerelictGLU/derelict/glu/glu.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/DerelictGL/Makefile
r15 r16 9 9 $(OGL.SRC.DIR)\gl.d \ 10 10 $(OGL.SRC.DIR)\gltypes.d \ 11 $(SRC.DIR)\glee.d 11 $(SRC.DIR)\glee.d \ 12 $(SRC.DIR)\glConstants.d 12 13 13 14 OGL.OBJ.DIR = $(OBJ.DIR)\opengl … … 15 16 $(OGL.OBJ.DIR)\gl.obj \ 16 17 $(OGL.OBJ.DIR)\gltypes.obj \ 17 $(OGL.OBJ.DIR)\glee.obj 18 $(OGL.OBJ.DIR)\glee.obj \ 19 $(OGL.OBJ.DIR)\glConstants.obj 18 20 19 # the version flag is here for so we can include gltypes rather than glconstants in glee.d 20 DFLAGS = -v -version=DerelictGL 21 DFLAGS = -v 21 22 LIBFLAGS = -c 22 23 DINC = -I$(OGL.SRC.DIR) trunk/DerelictGL/README.GLEE
r12 r16 10 10 * Removed unused types and those which are defined in std.c.windows.windows. 11 11 * Added a private import of std.c.windows.windows 12 * Made glee.d part of the derelict.opengl package13 * Replaced the import of glconstants.d with my existing gltypes.d14 12 * Added version statements where required 13 14 I also replaced Joel's glConstants.d with a new version which imports derelict's 15 gltypes (as per Joel's request). This allows me to include glee.d in the 16 DerelictGL without adding any references to Derelict, and Joel and I can maintain 17 concurrent versions. 15 18 16 19 Note that the original glee.d and glconstants.d are not included in the glee trunk/DerelictGL/derelict/opengl/gl.d
r15 r16 232 232 * going on. 233 233 */ 234 /* 234 235 static this() 235 236 { … … 237 238 // dglLoad(); 238 239 } 239 240 */ 240 241 /*! 241 242 * Unloads the shared lib. trunk/DerelictGL/glee.d
r15 r16 49 49 50 50 private import std.c.windows.windows; 51 52 version(DerelictGL)53 {54 private import derelict.opengl.gltypes;55 }56 else57 {58 51 private import glConstants; 59 } 52 60 53 61 54 extern (C) trunk/DerelictGLU/derelict/glu/glu.d
r15 r16 140 140 loadGLU(); 141 141 } 142 143 static ~this() 144 { 145 unloadGLU(); 146 } 147 148 142 149 //============================================================================== 143 150 // CONSTANTS
