Changeset 35


Ignore:
Timestamp:
05/28/13 00:27:30 (12 years ago)
Author:
epyon
Message:
  • gl_enum helper functions
  • gl_names GL name handling
Location:
trunk
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/lib/gl.hh

    r21 r35  
    7070#define GL_STENCIL_BUFFER_BIT 0x00000400
    7171#define GL_COLOR_BUFFER_BIT 0x00004000
     72#define GL_ZERO 0
    7273#define GL_FALSE 0
    7374#define GL_TRUE 1
     
    8182#define GL_NEVER 0x0200
    8283#define GL_LESS 0x0201
     84#define GL_EQUAL 0x0202
    8385#define GL_LEQUAL 0x0203
    8486#define GL_GREATER 0x0204
     
    109111#define GL_INVALID_OPERATION 0x0502
    110112#define GL_OUT_OF_MEMORY 0x0505
     113#define GL_CW 0x0900
     114#define GL_CCW 0x0901
    111115#define GL_POINT_SIZE 0x0B11
    112116#define GL_POINT_SIZE_RANGE 0x0B12
     
    289293#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
    290294#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
     295#define GL_CONSTANT_COLOR 0x8001
     296#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
     297#define GL_CONSTANT_ALPHA 0x8003
     298#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
     299#define GL_FUNC_ADD 0x8006
     300#define GL_MIN 0x8007
     301#define GL_MAX 0x8008
     302#define GL_FUNC_SUBTRACT 0x800A
     303#define GL_FUNC_REVERSE_SUBTRACT 0x800B
    291304
    292305/* OpenGL 1.3 non-deprecated defines */
Note: See TracChangeset for help on using the changeset viewer.