Changeset 110

Show
Ignore:
Timestamp:
05/28/05 10:27:28 (3 years ago)
Author:
JJR
Message:

* Cleanup glx.d -- removed unnecessary structures
* Docs/credit.html -- fixed name spelling Pascal -> Parscal

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictGL/derelict/opengl/glx.d

    r95 r110  
    55// 
    66// 2005-02-11:  Initial version - John Reimer 
    7 // 
     7// 2005-05-25:  Removed unnecessary structures 
    88 
    99module derelict.opengl.glx; 
     
    2020extern (C): 
    2121 
    22 // alias __GLXvisualConfigRec __GLXvisualConfig; 
    23 // alias __GLXFBConfigRec     __GLXFBConfig; 
    24  
    2522typedef int  Bool; 
    2623typedef uint VisualID; 
     
    2825struct __GLXcontextRec; 
    2926struct __GLXFBConfigRec; 
    30  
    31 /*struct __GLXvisualConfigRec 
    32 { 
    33     VisualID vid; 
    34     int     _class; 
    35     Bool    rgba; 
    36     int     redSize, greenSize, blueSize, alphaSize; 
    37     uint    redMask, greenMask, blueMask, alphaMask; 
    38     int     accumRedSize, accumGreenSize, accumBlueSize, accumAlphaSize; 
    39     Bool    doubleBuffer; 
    40     Bool    stereo; 
    41     int     bufferSize; 
    42     int     depthSize; 
    43     int     stencilSize; 
    44     int     auxBuffers; 
    45     int     level; 
    46  
    47     int     visualRating; 
    48     int     transparentPixel; 
    49  
    50     int     transparentRed, transparentGreen, transparentBlue, transparentAlpha; 
    51     int     transparentIndex; 
    52     int     multiSampleSize; 
    53     int     nMultiSampleBuffers; 
    54     int     visualSelectGroup; 
    55 } 
    56  
    57 const int __GLX_MIN_CONFIG_PROPS = 18; 
    58 const int __GLX_MAX_CONFIG_PROPS = 500; 
    59 const int __GLX_EXT_CONFIG_PROPS = 10; 
    60 const int __GLX_TOTAL_CONFIG = __GLX_MIN_CONFIG_PROPS+2 * __GLX_EXT_CONFIG_PROPS; 
    61 */ 
    62  
    63 /* struct __GLXFBConfigRec 
    64 { 
    65     int visualType; 
    66     int transparentType; 
    67  
    68     int transparentRed, transparentGreen, transparentBlue, transparentAlpha; 
    69     int transparentIndex; 
    70  
    71     int visualCaveat; 
    72  
    73     int associatedVisualID; 
    74     int screen; 
    75  
    76     int drawableType; 
    77     int rendertype; 
    78  
    79     int maxPbufferWidth, maxPbufferHeight, maxPbufferPixels; 
    80     int optimalPbufferWidth, optimalPbufferHeight; 
    81  
    82     int visualSelectGroup; 
    83  
    84     uint id; 
    85  
    86     GLboolean rgbMode; 
    87     GLboolean colorIndexMode; 
    88     GLboolean doubleBufferMode; 
    89     GLboolean stereoMode; 
    90     GLboolean haveAccumBuffer; 
    91     GLboolean haveDepthBuffer; 
    92     GLboolean haveStencilBuffer; 
    93  
    94     GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits; 
    95     GLint depthBits; 
    96     GLint stencilBits; 
    97     GLint indexBits; 
    98     GLint redBits, greenBits, blueBits, alphaBits; 
    99     GLuint redMask, greenMask, blueMask, alphaMask; 
    100  
    101     GLuint multiSampleSize; 
    102  
    103     GLuint nMultiSampleBuffers; 
    104     GLint maxAuxBuffers; 
    105  
    106     GLint level; 
    107  
    108     GLboolean extendedRange; 
    109     GLdouble  minRed, maxRed; 
    110     GLdouble  minGreen, maxGreen; 
    111     GLdouble  minBlue, maxGlue; 
    112     GLdouble  minAlpha, maxAlpha; 
    113 } */ 
    11427 
    11528typedef uint GLXContentID; 
  • trunk/docs/credit.html

    r109 r110  
    4242submitted some DerelictSDLttf fixes.</li> 
    4343<li>??? (xicesky) - submitted a fix for a bug in DerelictSDLMixer</li> 
    44 <li>Trevor Pascal - reported conflicts between DerelictGL and external Win32 GDI bindings</li> 
     44<li>Trevor Parscal - reported conflicts between DerelictGL and external Win32 GDI bindings</li> 
    4545<li>Tomasz Stachowiak (h3r3tic) - reported conflicts with DerleictGL and glx</li> 
    4646</ul>