Show
Ignore:
Timestamp:
07/15/07 23:12:21 (1 year ago)
Author:
JoeCoder
Message:

Updated to latest Derelict, DMD 1.018 now supported.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/derelict/opengl/extension/ati/fragment_shader.d

    r32 r50  
    211211} 
    212212 
     213private const char[] Funcs = 
     214" 
     215    typedef GLuint function(GLuint)                   pfglGenFragmentShadersATI; 
     216    typedef void function(GLuint)                     pfglBindFragmentShaderATI; 
     217    typedef void function(GLuint)                     pfglDeleteFragmentShaderATI; 
     218    typedef void function()                           pfglBeginFragmentShaderATI; 
     219    typedef void function()                           pfglEndFragmentShaderATI; 
     220    typedef void function(GLuint, GLuint, GLenum)     pfglPassTexCoordATI; 
     221    typedef void function(GLuint, GLuint, GLenum)     pfglSampleMapATI; 
     222    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp1ATI; 
     223    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp2ATI; 
     224    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp3ATI; 
     225    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp1ATI; 
     226    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp2ATI; 
     227    typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp3ATI; 
     228    typedef void function(GLuint, GLfloat *)          pfglSetFragmentShaderConstantATI; 
     229"; 
     230 
    213231version(Windows) 
    214232{ 
    215     extern(Windows): 
     233    extern(Windows): mixin(Funcs); 
    216234} 
    217235else 
    218236{ 
    219     extern(C): 
    220 
    221  
    222 typedef GLuint function(GLuint)                   pfglGenFragmentShadersATI; 
    223 typedef void function(GLuint)                     pfglBindFragmentShaderATI; 
    224 typedef void function(GLuint)                     pfglDeleteFragmentShaderATI; 
    225 typedef void function()                           pfglBeginFragmentShaderATI; 
    226 typedef void function()                           pfglEndFragmentShaderATI; 
    227 typedef void function(GLuint, GLuint, GLenum)     pfglPassTexCoordATI; 
    228 typedef void function(GLuint, GLuint, GLenum)     pfglSampleMapATI; 
    229 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp1ATI; 
    230 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp2ATI; 
    231 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglColorFragmentOp3ATI; 
    232 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp1ATI; 
    233 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp2ATI; 
    234 typedef void function(GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint) pfglAlphaFragmentOp3ATI; 
    235 typedef void function(GLuint, GLfloat *)          pfglSetFragmentShaderConstantATI; 
     237    extern(C): mixin(Funcs); 
     238
     239 
    236240pfglGenFragmentShadersATI           glGenFragmentShadersATI; 
    237241pfglBindFragmentShaderATI           glBindFragmentShaderATI;