Changeset 46

Show
Ignore:
Timestamp:
08/28/04 22:39:34 (4 years ago)
Author:
aldacron
Message:

* added DerelictAL
*[DerelictGL/GLU] in the getProc functions of gl.d and glu.d, changed 'if(null == symbol)' to 'if(symbol is null)' to match sdl.d.
*[DerelictGL/SDL] in the module destructors of gl.d and sdl.d, moved the call to unload the library in side the 'if(exeModuleInited)' block.
*[DerelictGL] corrected some spelling mistakes in the README

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictGL/README

    r33 r46  
    55without the need to link to an import library. This gives you control over how 
    66to handle the case where the OpenGL shared library is not available on the 
    7 user's machine. DerelictGL also exposes all avaialable core OpenGL functions 
     7user's machine. DerelictGL also exposes all available core OpenGL functions 
    88and extensions up to version 1.5 through Joel Anderson's port of Ben Woodhouse's 
    99GL Easy Extensions (GLee) library. 
     
    5656and not a DLL. 
    5757 
    58 If you prefer lionking to DerelictGL without including GLee, you can either include 
     58If you prefer linking to DerelictGL without including GLee, you can either include 
    5959GL.d and GL.obj on your project's build path, or make the DerelictGL library with 
    6060the command 'make lib_noglee' (see BUILDING below). You will then have to setup 
  • trunk/DerelictGL/derelict/opengl/gl.d

    r38 r46  
    198198{ 
    199199    void *symbol = ExeModule_GetSymbol(hgl, procname); 
    200     if(null == symbol) 
     200    if(symbol is null) 
    201201        throw new Exception("Failed to load opengl proc address " ~ procname); 
    202202    return symbol; 
  • trunk/DerelictGLU/derelict/glu/glu.d

    r31 r46  
    4242{ 
    4343    void *symbol = ExeModule_GetSymbol(hglu, procname); 
    44     if(null == symbol) 
     44    if(symbol is null) 
    4545        throw new Exception("Failed to load glu proc address " ~ procname); 
    4646    return symbol; 
  • trunk/DerelictSDL/derelict/sdl/sdl.d

    r44 r46  
    325325static ~this() 
    326326{ 
    327     ExeModule_Release(hsdl); 
    328      
    329327    if(exeModuleInited) 
     328    { 
     329        ExeModule_Release(hsdl); 
    330330        ExeModule_Uninit(); 
    331 
     331    } 
     332