Changeset 467

Show
Ignore:
Timestamp:
03/14/08 15:53:36 (9 months ago)
Author:
Mike Wey
Message:

Fix the simpleGL demo - patch supplied by narl see ticket #29

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demos/gl/SimpleGL.d

    r322 r467  
    6767     * returns true to consume the event 
    6868     */ 
    69     bit initGL() 
     69    bool initGL() 
    7070    { 
    7171        resizeGL(null); 
     
    8080     * returns true to consume the event 
    8181     */ 
    82     bit drawGL(GdkEventExpose* event = null) 
     82    bool drawGL(GdkEventExpose* event = null) 
    8383    { 
    8484        glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); 
     
    104104     * returns true to consume the event 
    105105     */ 
    106     bit resizeGL(GdkEventConfigure* event = null) 
     106    bool resizeGL(GdkEventConfigure* event = null) 
    107107    { 
    108108        GLfloat w; 
  • trunk/demos/gl/dsss.conf

    r340 r467  
    1515} 
    1616 
     17[SimpleGL.d] 
     18type = binary 
     19target = simpleGL 
     20buildflags = -I../ -no-export-dynamic 
     21version(linux) { 
     22buildflags += -L-lGL -L-lGLU -L-ldl 
     23} 
     24version(Windows){ 
     25        prebuild=warn Windows support is untested. 
     26        buildflags+=-lladvapi32 
     27} 
     28