'
' GL definitions based on MESA 7.x which implements the OpenGL 2.1 API - their license below.
'
' Ported to BaCon INCLUDE file by Peter van Eerten - GPL.
'
' Version 1.0: Initial release
' Version 1.1: Added heuristic library search
' Version 1.2: Compatibility with MacOSX
' Version 1.3: Compatibility with Cygwin/X
' Version 1.4: Updated for BaCon 3.x
'
' gl.h
'
' Mesa 3-D graphics library
' Version:  7.6
'
' Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
' Copyright (C) 2009  VMware, Inc.  All Rights Reserved.
'
' Permission is hereby granted, free of charge, to any person obtaining a
' copy of this software and associated documentation files (the "Software"),
' to deal in the Software without restriction, including without limitation
' the rights to use, copy, modify, merge, publish, distribute, sublicense,
' and/or sell copies of the Software, and to permit persons to whom the
' Software is furnished to do so, subject to the following conditions:
'
' The above copyright notice and this permission notice shall be included
' in all copies or substantial portions of the Software.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
' OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
' FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
' BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
' AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
' CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
'
CATCH GOTO gl_handle_error

IF INSTR(OS$, "Darwin") THEN
    gl_LIB$="/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"
ELIF INSTR(OS$, "CYGWIN") THEN
    gl_LIB$ = "cygGL-1.dll"
ELSE
    gl_LIB$ = "libGL.so"
END IF

gl_seq = -1

LABEL gl_import_retry
    INCR gl_seq
    gl_retry = FALSE
    IMPORT "glGetString(int)" FROM gl_LIB$ TYPE char*
    IF gl_retry THEN GOTO gl_import_retry

GOTO gl_continue

LABEL gl_handle_error
    IF gl_seq IS 0 THEN gl_LIB$ = "libGL.so.0"
    ELSE gl_LIB$ = CONCAT$(LEFT$(gl_LIB$, INSTRREV(gl_LIB$, ".")), STR$(gl_seq))
    IF gl_seq < 10 THEN
        gl_retry = TRUE
    ELSE
        PRINT "No GL library found!"
        END
    END IF
    RESUME

LABEL gl_continue

CONST GL_VERSION_1_1 = 1
CONST GL_VERSION_1_2 = 1
CONST GL_VERSION_1_3 = 1
CONST GL_ARB_imaging = 1
CONST GL_FALSE = 0x0
CONST GL_TRUE = 0x1
CONST GL_BYTE = 0x1400
CONST GL_UNSIGNED_BYTE = 0x1401
CONST GL_SHORT = 0x1402
CONST GL_UNSIGNED_SHORT = 0x1403
CONST GL_INT = 0x1404
CONST GL_UNSIGNED_INT = 0x1405
CONST GL_FLOAT = 0x1406
CONST GL_2_BYTES = 0x1407
CONST GL_3_BYTES = 0x1408
CONST GL_4_BYTES = 0x1409
CONST GL_DOUBLE = 0x140A
CONST GL_POINTS = 0x0000
CONST GL_LINES = 0x0001
CONST GL_LINE_LOOP = 0x0002
CONST GL_LINE_STRIP = 0x0003
CONST GL_TRIANGLES = 0x0004
CONST GL_TRIANGLE_STRIP = 0x0005
CONST GL_TRIANGLE_FAN = 0x0006
CONST GL_QUADS = 0x0007
CONST GL_QUAD_STRIP = 0x0008
CONST GL_POLYGON = 0x0009
CONST GL_VERTEX_ARRAY = 0x8074
CONST GL_NORMAL_ARRAY = 0x8075
CONST GL_COLOR_ARRAY = 0x8076
CONST GL_INDEX_ARRAY = 0x8077
CONST GL_TEXTURE_COORD_ARRAY = 0x8078
CONST GL_EDGE_FLAG_ARRAY = 0x8079
CONST GL_VERTEX_ARRAY_SIZE = 0x807A
CONST GL_VERTEX_ARRAY_TYPE = 0x807B
CONST GL_VERTEX_ARRAY_STRIDE = 0x807C
CONST GL_NORMAL_ARRAY_TYPE = 0x807E
CONST GL_NORMAL_ARRAY_STRIDE = 0x807F
CONST GL_COLOR_ARRAY_SIZE = 0x8081
CONST GL_COLOR_ARRAY_TYPE = 0x8082
CONST GL_COLOR_ARRAY_STRIDE = 0x8083
CONST GL_INDEX_ARRAY_TYPE = 0x8085
CONST GL_INDEX_ARRAY_STRIDE = 0x8086
CONST GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088
CONST GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089
CONST GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A
CONST GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C
CONST GL_VERTEX_ARRAY_POINTER = 0x808E
CONST GL_NORMAL_ARRAY_POINTER = 0x808F
CONST GL_COLOR_ARRAY_POINTER = 0x8090
CONST GL_INDEX_ARRAY_POINTER = 0x8091
CONST GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092
CONST GL_EDGE_FLAG_ARRAY_POINTER = 0x8093
CONST GL_V2F = 0x2A20
CONST GL_V3F = 0x2A21
CONST GL_C4UB_V2F = 0x2A22
CONST GL_C4UB_V3F = 0x2A23
CONST GL_C3F_V3F = 0x2A24
CONST GL_N3F_V3F = 0x2A25
CONST GL_C4F_N3F_V3F = 0x2A26
CONST GL_T2F_V3F = 0x2A27
CONST GL_T4F_V4F = 0x2A28
CONST GL_T2F_C4UB_V3F = 0x2A29
CONST GL_T2F_C3F_V3F = 0x2A2A
CONST GL_T2F_N3F_V3F = 0x2A2B
CONST GL_T2F_C4F_N3F_V3F = 0x2A2C
CONST GL_T4F_C4F_N3F_V4F = 0x2A2D
CONST GL_MATRIX_MODE = 0x0BA0
CONST GL_MODELVIEW = 0x1700
CONST GL_PROJECTION = 0x1701
CONST GL_TEXTURE = 0x1702
CONST GL_POINT_SMOOTH = 0x0B10
CONST GL_POINT_SIZE = 0x0B11
CONST GL_POINT_SIZE_GRANULARITY = 0x0B13
CONST GL_POINT_SIZE_RANGE = 0x0B12
CONST GL_LINE_SMOOTH = 0x0B20
CONST GL_LINE_STIPPLE = 0x0B24
CONST GL_LINE_STIPPLE_PATTERN = 0x0B25
CONST GL_LINE_STIPPLE_REPEAT = 0x0B26
CONST GL_LINE_WIDTH = 0x0B21
CONST GL_LINE_WIDTH_GRANULARITY = 0x0B23
CONST GL_LINE_WIDTH_RANGE = 0x0B22
CONST GL_POINT = 0x1B00
CONST GL_LINE = 0x1B01
CONST GL_FILL = 0x1B02
CONST GL_CW = 0x0900
CONST GL_CCW = 0x0901
CONST GL_FRONT = 0x0404
CONST GL_BACK = 0x0405
CONST GL_POLYGON_MODE = 0x0B40
CONST GL_POLYGON_SMOOTH = 0x0B41
CONST GL_POLYGON_STIPPLE = 0x0B42
CONST GL_EDGE_FLAG = 0x0B43
CONST GL_CULL_FACE = 0x0B44
CONST GL_CULL_FACE_MODE = 0x0B45
CONST GL_FRONT_FACE = 0x0B46
CONST GL_POLYGON_OFFSET_FACTOR = 0x8038
CONST GL_POLYGON_OFFSET_UNITS = 0x2A00
CONST GL_POLYGON_OFFSET_POINT = 0x2A01
CONST GL_POLYGON_OFFSET_LINE = 0x2A02
CONST GL_POLYGON_OFFSET_FILL = 0x8037
CONST GL_COMPILE = 0x1300
CONST GL_COMPILE_AND_EXECUTE = 0x1301
CONST GL_LIST_BASE = 0x0B32
CONST GL_LIST_INDEX = 0x0B33
CONST GL_LIST_MODE = 0x0B30
CONST GL_NEVER = 0x0200
CONST GL_LESS = 0x0201
CONST GL_EQUAL = 0x0202
CONST GL_LEQUAL = 0x0203
CONST GL_GREATER = 0x0204
CONST GL_NOTEQUAL = 0x0205
CONST GL_GEQUAL = 0x0206
CONST GL_ALWAYS = 0x0207
CONST GL_DEPTH_TEST = 0x0B71
CONST GL_DEPTH_BITS = 0x0D56
CONST GL_DEPTH_CLEAR_VALUE = 0x0B73
CONST GL_DEPTH_FUNC = 0x0B74
CONST GL_DEPTH_RANGE = 0x0B70
CONST GL_DEPTH_WRITEMASK = 0x0B72
CONST GL_DEPTH_COMPONENT = 0x1902
CONST GL_LIGHTING = 0x0B50
CONST GL_LIGHT0 = 0x4000
CONST GL_LIGHT1 = 0x4001
CONST GL_LIGHT2 = 0x4002
CONST GL_LIGHT3 = 0x4003
CONST GL_LIGHT4 = 0x4004
CONST GL_LIGHT5 = 0x4005
CONST GL_LIGHT6 = 0x4006
CONST GL_LIGHT7 = 0x4007
CONST GL_SPOT_EXPONENT = 0x1205
CONST GL_SPOT_CUTOFF = 0x1206
CONST GL_CONSTANT_ATTENUATION = 0x1207
CONST GL_LINEAR_ATTENUATION = 0x1208
CONST GL_QUADRATIC_ATTENUATION = 0x1209
CONST GL_AMBIENT = 0x1200
CONST GL_DIFFUSE = 0x1201
CONST GL_SPECULAR = 0x1202
CONST GL_SHININESS = 0x1601
CONST GL_EMISSION = 0x1600
CONST GL_POSITION = 0x1203
CONST GL_SPOT_DIRECTION = 0x1204
CONST GL_AMBIENT_AND_DIFFUSE = 0x1602
CONST GL_COLOR_INDEXES = 0x1603
CONST GL_LIGHT_MODEL_TWO_SIDE = 0x0B52
CONST GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
CONST GL_LIGHT_MODEL_AMBIENT = 0x0B53
CONST GL_FRONT_AND_BACK = 0x0408
CONST GL_SHADE_MODEL = 0x0B54
CONST GL_FLAT = 0x1D00
CONST GL_SMOOTH = 0x1D01
CONST GL_COLOR_MATERIAL = 0x0B57
CONST GL_COLOR_MATERIAL_FACE = 0x0B55
CONST GL_COLOR_MATERIAL_PARAMETER = 0x0B56
CONST GL_NORMALIZE = 0x0BA1
CONST GL_CLIP_PLANE0 = 0x3000
CONST GL_CLIP_PLANE1 = 0x3001
CONST GL_CLIP_PLANE2 = 0x3002
CONST GL_CLIP_PLANE3 = 0x3003
CONST GL_CLIP_PLANE4 = 0x3004
CONST GL_CLIP_PLANE5 = 0x3005
CONST GL_ACCUM_RED_BITS = 0x0D58
CONST GL_ACCUM_GREEN_BITS = 0x0D59
CONST GL_ACCUM_BLUE_BITS = 0x0D5A
CONST GL_ACCUM_ALPHA_BITS = 0x0D5B
CONST GL_ACCUM_CLEAR_VALUE = 0x0B80
CONST GL_ACCUM = 0x0100
CONST GL_ADD = 0x0104
CONST GL_LOAD = 0x0101
CONST GL_MULT = 0x0103
CONST GL_RETURN = 0x0102
CONST GL_ALPHA_TEST = 0x0BC0
CONST GL_ALPHA_TEST_REF = 0x0BC2
CONST GL_ALPHA_TEST_FUNC = 0x0BC1
CONST GL_BLEND = 0x0BE2
CONST GL_BLEND_SRC = 0x0BE1
CONST GL_BLEND_DST = 0x0BE0
CONST GL_ZERO = 0x0
CONST GL_ONE = 0x1
CONST GL_SRC_COLOR = 0x0300
CONST GL_ONE_MINUS_SRC_COLOR = 0x0301
CONST GL_SRC_ALPHA = 0x0302
CONST GL_ONE_MINUS_SRC_ALPHA = 0x0303
CONST GL_DST_ALPHA = 0x0304
CONST GL_ONE_MINUS_DST_ALPHA = 0x0305
CONST GL_DST_COLOR = 0x0306
CONST GL_ONE_MINUS_DST_COLOR = 0x0307
CONST GL_SRC_ALPHA_SATURATE = 0x0308
CONST GL_FEEDBACK = 0x1C01
CONST GL_RENDER = 0x1C00
CONST GL_SELECT = 0x1C02
CONST GL_2D = 0x0600
CONST GL_3D = 0x0601
CONST GL_3D_COLOR = 0x0602
CONST GL_3D_COLOR_TEXTURE = 0x0603
CONST GL_4D_COLOR_TEXTURE = 0x0604
CONST GL_POINT_TOKEN = 0x0701
CONST GL_LINE_TOKEN = 0x0702
CONST GL_LINE_RESET_TOKEN = 0x0707
CONST GL_POLYGON_TOKEN = 0x0703
CONST GL_BITMAP_TOKEN = 0x0704
CONST GL_DRAW_PIXEL_TOKEN = 0x0705
CONST GL_COPY_PIXEL_TOKEN = 0x0706
CONST GL_PASS_THROUGH_TOKEN = 0x0700
CONST GL_FEEDBACK_BUFFER_POINTER = 0x0DF0
CONST GL_FEEDBACK_BUFFER_SIZE = 0x0DF1
CONST GL_FEEDBACK_BUFFER_TYPE = 0x0DF2
CONST GL_SELECTION_BUFFER_POINTER = 0x0DF3
CONST GL_SELECTION_BUFFER_SIZE = 0x0DF4
CONST GL_FOG = 0x0B60
CONST GL_FOG_MODE = 0x0B65
CONST GL_FOG_DENSITY = 0x0B62
CONST GL_FOG_COLOR = 0x0B66
CONST GL_FOG_INDEX = 0x0B61
CONST GL_FOG_START = 0x0B63
CONST GL_FOG_END = 0x0B64
CONST GL_LINEAR = 0x2601
CONST GL_EXP = 0x0800
CONST GL_EXP2 = 0x0801
CONST GL_LOGIC_OP = 0x0BF1
CONST GL_INDEX_LOGIC_OP = 0x0BF1
CONST GL_COLOR_LOGIC_OP = 0x0BF2
CONST GL_LOGIC_OP_MODE = 0x0BF0
CONST GL_CLEAR = 0x1500
CONST GL_SET = 0x150F
CONST GL_COPY = 0x1503
CONST GL_COPY_INVERTED = 0x150C
CONST GL_NOOP = 0x1505
CONST GL_INVERT = 0x150A
CONST GL_AND = 0x1501
CONST GL_NAND = 0x150E
CONST GL_OR = 0x1507
CONST GL_NOR = 0x1508
CONST GL_XOR = 0x1506
CONST GL_EQUIV = 0x1509
CONST GL_AND_REVERSE = 0x1502
CONST GL_AND_INVERTED = 0x1504
CONST GL_OR_REVERSE = 0x150B
CONST GL_OR_INVERTED = 0x150D
CONST GL_STENCIL_BITS = 0x0D57
CONST GL_STENCIL_TEST = 0x0B90
CONST GL_STENCIL_CLEAR_VALUE = 0x0B91
CONST GL_STENCIL_FUNC = 0x0B92
CONST GL_STENCIL_VALUE_MASK = 0x0B93
CONST GL_STENCIL_FAIL = 0x0B94
CONST GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95
CONST GL_STENCIL_PASS_DEPTH_PASS = 0x0B96
CONST GL_STENCIL_REF = 0x0B97
CONST GL_STENCIL_WRITEMASK = 0x0B98
CONST GL_STENCIL_INDEX = 0x1901
CONST GL_KEEP = 0x1E00
CONST GL_REPLACE = 0x1E01
CONST GL_INCR = 0x1E02
CONST GL_DECR = 0x1E03
CONST GL_NONE = 0x0
CONST GL_LEFT = 0x0406
CONST GL_RIGHT = 0x0407
CONST GL_FRONT_LEFT = 0x0400
CONST GL_FRONT_RIGHT = 0x0401
CONST GL_BACK_LEFT = 0x0402
CONST GL_BACK_RIGHT = 0x0403
CONST GL_AUX0 = 0x0409
CONST GL_AUX1 = 0x040A
CONST GL_AUX2 = 0x040B
CONST GL_AUX3 = 0x040C
CONST GL_COLOR_INDEX = 0x1900
CONST GL_RED = 0x1903
CONST GL_GREEN = 0x1904
CONST GL_BLUE = 0x1905
CONST GL_ALPHA = 0x1906
CONST GL_LUMINANCE = 0x1909
CONST GL_LUMINANCE_ALPHA = 0x190A
CONST GL_ALPHA_BITS = 0x0D55
CONST GL_RED_BITS = 0x0D52
CONST GL_GREEN_BITS = 0x0D53
CONST GL_BLUE_BITS = 0x0D54
CONST GL_INDEX_BITS = 0x0D51
CONST GL_SUBPIXEL_BITS = 0x0D50
CONST GL_AUX_BUFFERS = 0x0C00
CONST GL_READ_BUFFER = 0x0C02
CONST GL_DRAW_BUFFER = 0x0C01
CONST GL_DOUBLEBUFFER = 0x0C32
CONST GL_STEREO = 0x0C33
CONST GL_BITMAP = 0x1A00
CONST GL_COLOR = 0x1800
CONST GL_DEPTH = 0x1801
CONST GL_STENCIL = 0x1802
CONST GL_DITHER = 0x0BD0
CONST GL_RGB = 0x1907
CONST GL_RGBA = 0x1908
CONST GL_MAX_LIST_NESTING = 0x0B31
CONST GL_MAX_EVAL_ORDER = 0x0D30
CONST GL_MAX_LIGHTS = 0x0D31
CONST GL_MAX_CLIP_PLANES = 0x0D32
CONST GL_MAX_TEXTURE_SIZE = 0x0D33
CONST GL_MAX_PIXEL_MAP_TABLE = 0x0D34
CONST GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35
CONST GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36
CONST GL_MAX_NAME_STACK_DEPTH = 0x0D37
CONST GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38
CONST GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39
CONST GL_MAX_VIEWPORT_DIMS = 0x0D3A
CONST GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
CONST GL_ATTRIB_STACK_DEPTH = 0x0BB0
CONST GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
CONST GL_COLOR_CLEAR_VALUE = 0x0C22
CONST GL_COLOR_WRITEMASK = 0x0C23
CONST GL_CURRENT_INDEX = 0x0B01
CONST GL_CURRENT_COLOR = 0x0B00
CONST GL_CURRENT_NORMAL = 0x0B02
CONST GL_CURRENT_RASTER_COLOR = 0x0B04
CONST GL_CURRENT_RASTER_DISTANCE = 0x0B09
CONST GL_CURRENT_RASTER_INDEX = 0x0B05
CONST GL_CURRENT_RASTER_POSITION = 0x0B07
CONST GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06
CONST GL_CURRENT_RASTER_POSITION_VALID = 0x0B08
CONST GL_CURRENT_TEXTURE_COORDS = 0x0B03
CONST GL_INDEX_CLEAR_VALUE = 0x0C20
CONST GL_INDEX_MODE = 0x0C30
CONST GL_INDEX_WRITEMASK = 0x0C21
CONST GL_MODELVIEW_MATRIX = 0x0BA6
CONST GL_MODELVIEW_STACK_DEPTH = 0x0BA3
CONST GL_NAME_STACK_DEPTH = 0x0D70
CONST GL_PROJECTION_MATRIX = 0x0BA7
CONST GL_PROJECTION_STACK_DEPTH = 0x0BA4
CONST GL_RENDER_MODE = 0x0C40
CONST GL_RGBA_MODE = 0x0C31
CONST GL_TEXTURE_MATRIX = 0x0BA8
CONST GL_TEXTURE_STACK_DEPTH = 0x0BA5
CONST GL_VIEWPORT = 0x0BA2
CONST GL_AUTO_NORMAL = 0x0D80
CONST GL_MAP1_COLOR_4 = 0x0D90
CONST GL_MAP1_INDEX = 0x0D91
CONST GL_MAP1_NORMAL = 0x0D92
CONST GL_MAP1_TEXTURE_COORD_1 = 0x0D93
CONST GL_MAP1_TEXTURE_COORD_2 = 0x0D94
CONST GL_MAP1_TEXTURE_COORD_3 = 0x0D95
CONST GL_MAP1_TEXTURE_COORD_4 = 0x0D96
CONST GL_MAP1_VERTEX_3 = 0x0D97
CONST GL_MAP1_VERTEX_4 = 0x0D98
CONST GL_MAP2_COLOR_4 = 0x0DB0
CONST GL_MAP2_INDEX = 0x0DB1
CONST GL_MAP2_NORMAL = 0x0DB2
CONST GL_MAP2_TEXTURE_COORD_1 = 0x0DB3
CONST GL_MAP2_TEXTURE_COORD_2 = 0x0DB4
CONST GL_MAP2_TEXTURE_COORD_3 = 0x0DB5
CONST GL_MAP2_TEXTURE_COORD_4 = 0x0DB6
CONST GL_MAP2_VERTEX_3 = 0x0DB7
CONST GL_MAP2_VERTEX_4 = 0x0DB8
CONST GL_MAP1_GRID_DOMAIN = 0x0DD0
CONST GL_MAP1_GRID_SEGMENTS = 0x0DD1
CONST GL_MAP2_GRID_DOMAIN = 0x0DD2
CONST GL_MAP2_GRID_SEGMENTS = 0x0DD3
CONST GL_COEFF = 0x0A00
CONST GL_ORDER = 0x0A01
CONST GL_DOMAIN = 0x0A02
CONST GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50
CONST GL_POINT_SMOOTH_HINT = 0x0C51
CONST GL_LINE_SMOOTH_HINT = 0x0C52
CONST GL_POLYGON_SMOOTH_HINT = 0x0C53
CONST GL_FOG_HINT = 0x0C54
CONST GL_DONT_CARE = 0x1100
CONST GL_FASTEST = 0x1101
CONST GL_NICEST = 0x1102
CONST GL_SCISSOR_BOX = 0x0C10
CONST GL_SCISSOR_TEST = 0x0C11
CONST GL_MAP_COLOR = 0x0D10
CONST GL_MAP_STENCIL = 0x0D11
CONST GL_INDEX_SHIFT = 0x0D12
CONST GL_INDEX_OFFSET = 0x0D13
CONST GL_RED_SCALE = 0x0D14
CONST GL_RED_BIAS = 0x0D15
CONST GL_GREEN_SCALE = 0x0D18
CONST GL_GREEN_BIAS = 0x0D19
CONST GL_BLUE_SCALE = 0x0D1A
CONST GL_BLUE_BIAS = 0x0D1B
CONST GL_ALPHA_SCALE = 0x0D1C
CONST GL_ALPHA_BIAS = 0x0D1D
CONST GL_DEPTH_SCALE = 0x0D1E
CONST GL_DEPTH_BIAS = 0x0D1F
CONST GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1
CONST GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0
CONST GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2
CONST GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3
CONST GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4
CONST GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5
CONST GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6
CONST GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7
CONST GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8
CONST GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9
CONST GL_PIXEL_MAP_S_TO_S = 0x0C71
CONST GL_PIXEL_MAP_I_TO_I = 0x0C70
CONST GL_PIXEL_MAP_I_TO_R = 0x0C72
CONST GL_PIXEL_MAP_I_TO_G = 0x0C73
CONST GL_PIXEL_MAP_I_TO_B = 0x0C74
CONST GL_PIXEL_MAP_I_TO_A = 0x0C75
CONST GL_PIXEL_MAP_R_TO_R = 0x0C76
CONST GL_PIXEL_MAP_G_TO_G = 0x0C77
CONST GL_PIXEL_MAP_B_TO_B = 0x0C78
CONST GL_PIXEL_MAP_A_TO_A = 0x0C79
CONST GL_PACK_ALIGNMENT = 0x0D05
CONST GL_PACK_LSB_FIRST = 0x0D01
CONST GL_PACK_ROW_LENGTH = 0x0D02
CONST GL_PACK_SKIP_PIXELS = 0x0D04
CONST GL_PACK_SKIP_ROWS = 0x0D03
CONST GL_PACK_SWAP_BYTES = 0x0D00
CONST GL_UNPACK_ALIGNMENT = 0x0CF5
CONST GL_UNPACK_LSB_FIRST = 0x0CF1
CONST GL_UNPACK_ROW_LENGTH = 0x0CF2
CONST GL_UNPACK_SKIP_PIXELS = 0x0CF4
CONST GL_UNPACK_SKIP_ROWS = 0x0CF3
CONST GL_UNPACK_SWAP_BYTES = 0x0CF0
CONST GL_ZOOM_X = 0x0D16
CONST GL_ZOOM_Y = 0x0D17
CONST GL_TEXTURE_ENV = 0x2300
CONST GL_TEXTURE_ENV_MODE = 0x2200
CONST GL_TEXTURE_1D = 0x0DE0
CONST GL_TEXTURE_2D = 0x0DE1
CONST GL_TEXTURE_WRAP_S = 0x2802
CONST GL_TEXTURE_WRAP_T = 0x2803
CONST GL_TEXTURE_MAG_FILTER = 0x2800
CONST GL_TEXTURE_MIN_FILTER = 0x2801
CONST GL_TEXTURE_ENV_COLOR = 0x2201
CONST GL_TEXTURE_GEN_S = 0x0C60
CONST GL_TEXTURE_GEN_T = 0x0C61
CONST GL_TEXTURE_GEN_MODE = 0x2500
CONST GL_TEXTURE_BORDER_COLOR = 0x1004
CONST GL_TEXTURE_WIDTH = 0x1000
CONST GL_TEXTURE_HEIGHT = 0x1001
CONST GL_TEXTURE_BORDER = 0x1005
CONST GL_TEXTURE_COMPONENTS = 0x1003
CONST GL_TEXTURE_RED_SIZE = 0x805C
CONST GL_TEXTURE_GREEN_SIZE = 0x805D
CONST GL_TEXTURE_BLUE_SIZE = 0x805E
CONST GL_TEXTURE_ALPHA_SIZE = 0x805F
CONST GL_TEXTURE_LUMINANCE_SIZE = 0x8060
CONST GL_TEXTURE_INTENSITY_SIZE = 0x8061
CONST GL_NEAREST_MIPMAP_NEAREST = 0x2700
CONST GL_NEAREST_MIPMAP_LINEAR = 0x2702
CONST GL_LINEAR_MIPMAP_NEAREST = 0x2701
CONST GL_LINEAR_MIPMAP_LINEAR = 0x2703
CONST GL_OBJECT_LINEAR = 0x2401
CONST GL_OBJECT_PLANE = 0x2501
CONST GL_EYE_LINEAR = 0x2400
CONST GL_EYE_PLANE = 0x2502
CONST GL_SPHERE_MAP = 0x2402
CONST GL_DECAL = 0x2101
CONST GL_MODULATE = 0x2100
CONST GL_NEAREST = 0x2600
CONST GL_REPEAT = 0x2901
CONST GL_CLAMP = 0x2900
CONST GL_S = 0x2000
CONST GL_T = 0x2001
CONST GL_R = 0x2002
CONST GL_Q = 0x2003
CONST GL_TEXTURE_GEN_R = 0x0C62
CONST GL_TEXTURE_GEN_Q = 0x0C63
CONST GL_VENDOR = 0x1F00
CONST GL_RENDERER = 0x1F01
CONST GL_VERSION = 0x1F02
CONST GL_EXTENSIONS = 0x1F03
CONST GL_NO_ERROR = 0x0
CONST GL_INVALID_ENUM = 0x0500
CONST GL_INVALID_VALUE = 0x0501
CONST GL_INVALID_OPERATION = 0x0502
CONST GL_STACK_OVERFLOW = 0x0503
CONST GL_STACK_UNDERFLOW = 0x0504
CONST GL_OUT_OF_MEMORY = 0x0505
CONST GL_CURRENT_BIT = 0x00000001
CONST GL_POINT_BIT = 0x00000002
CONST GL_LINE_BIT = 0x00000004
CONST GL_POLYGON_BIT = 0x00000008
CONST GL_POLYGON_STIPPLE_BIT = 0x00000010
CONST GL_PIXEL_MODE_BIT = 0x00000020
CONST GL_LIGHTING_BIT = 0x00000040
CONST GL_FOG_BIT = 0x00000080
CONST GL_DEPTH_BUFFER_BIT = 0x00000100
CONST GL_ACCUM_BUFFER_BIT = 0x00000200
CONST GL_STENCIL_BUFFER_BIT = 0x00000400
CONST GL_VIEWPORT_BIT = 0x00000800
CONST GL_TRANSFORM_BIT = 0x00001000
CONST GL_ENABLE_BIT = 0x00002000
CONST GL_COLOR_BUFFER_BIT = 0x00004000
CONST GL_HINT_BIT = 0x00008000
CONST GL_EVAL_BIT = 0x00010000
CONST GL_LIST_BIT = 0x00020000
CONST GL_TEXTURE_BIT = 0x00040000
CONST GL_SCISSOR_BIT = 0x00080000
CONST GL_ALL_ATTRIB_BITS = 0x000FFFFF
CONST GL_PROXY_TEXTURE_1D = 0x8063
CONST GL_PROXY_TEXTURE_2D = 0x8064
CONST GL_TEXTURE_PRIORITY = 0x8066
CONST GL_TEXTURE_RESIDENT = 0x8067
CONST GL_TEXTURE_BINDING_1D = 0x8068
CONST GL_TEXTURE_BINDING_2D = 0x8069
CONST GL_TEXTURE_INTERNAL_FORMAT = 0x1003
CONST GL_ALPHA4 = 0x803B
CONST GL_ALPHA8 = 0x803C
CONST GL_ALPHA12 = 0x803D
CONST GL_ALPHA16 = 0x803E
CONST GL_LUMINANCE4 = 0x803F
CONST GL_LUMINANCE8 = 0x8040
CONST GL_LUMINANCE12 = 0x8041
CONST GL_LUMINANCE16 = 0x8042
CONST GL_LUMINANCE4_ALPHA4 = 0x8043
CONST GL_LUMINANCE6_ALPHA2 = 0x8044
CONST GL_LUMINANCE8_ALPHA8 = 0x8045
CONST GL_LUMINANCE12_ALPHA4 = 0x8046
CONST GL_LUMINANCE12_ALPHA12 = 0x8047
CONST GL_LUMINANCE16_ALPHA16 = 0x8048
CONST GL_INTENSITY = 0x8049
CONST GL_INTENSITY4 = 0x804A
CONST GL_INTENSITY8 = 0x804B
CONST GL_INTENSITY12 = 0x804C
CONST GL_INTENSITY16 = 0x804D
CONST GL_R3_G3_B2 = 0x2A10
CONST GL_RGB4 = 0x804F
CONST GL_RGB5 = 0x8050
CONST GL_RGB8 = 0x8051
CONST GL_RGB10 = 0x8052
CONST GL_RGB12 = 0x8053
CONST GL_RGB16 = 0x8054
CONST GL_RGBA2 = 0x8055
CONST GL_RGBA4 = 0x8056
CONST GL_RGB5_A1 = 0x8057
CONST GL_RGBA8 = 0x8058
CONST GL_RGB10_A2 = 0x8059
CONST GL_RGBA12 = 0x805A
CONST GL_RGBA16 = 0x805B
CONST GL_CLIENT_PIXEL_STORE_BIT = 0x00000001
CONST GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002
CONST GL_ALL_CLIENT_ATTRIB_BITS = 0xFFFFFFFF
CONST GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF
CONST GL_RESCALE_NORMAL = 0x803A
CONST GL_CLAMP_TO_EDGE = 0x812F
CONST GL_MAX_ELEMENTS_VERTICES = 0x80E8
CONST GL_MAX_ELEMENTS_INDICES = 0x80E9
CONST GL_BGR = 0x80E0
CONST GL_BGRA = 0x80E1
CONST GL_UNSIGNED_BYTE_3_3_2 = 0x8032
CONST GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362
CONST GL_UNSIGNED_SHORT_5_6_5 = 0x8363
CONST GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364
CONST GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033
CONST GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365
CONST GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034
CONST GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366
CONST GL_UNSIGNED_INT_8_8_8_8 = 0x8035
CONST GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367
CONST GL_UNSIGNED_INT_10_10_10_2 = 0x8036
CONST GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368
CONST GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8
CONST GL_SINGLE_COLOR = 0x81F9
CONST GL_SEPARATE_SPECULAR_COLOR = 0x81FA
CONST GL_TEXTURE_MIN_LOD = 0x813A
CONST GL_TEXTURE_MAX_LOD = 0x813B
CONST GL_TEXTURE_BASE_LEVEL = 0x813C
CONST GL_TEXTURE_MAX_LEVEL = 0x813D
CONST GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12
CONST GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13
CONST GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22
CONST GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23
CONST GL_ALIASED_POINT_SIZE_RANGE = 0x846D
CONST GL_ALIASED_LINE_WIDTH_RANGE = 0x846E
CONST GL_PACK_SKIP_IMAGES = 0x806B
CONST GL_PACK_IMAGE_HEIGHT = 0x806C
CONST GL_UNPACK_SKIP_IMAGES = 0x806D
CONST GL_UNPACK_IMAGE_HEIGHT = 0x806E
CONST GL_TEXTURE_3D = 0x806F
CONST GL_PROXY_TEXTURE_3D = 0x8070
CONST GL_TEXTURE_DEPTH = 0x8071
CONST GL_TEXTURE_WRAP_R = 0x8072
CONST GL_MAX_3D_TEXTURE_SIZE = 0x8073
CONST GL_TEXTURE_BINDING_3D = 0x806A
CONST GL_CONSTANT_COLOR = 0x8001
CONST GL_ONE_MINUS_CONSTANT_COLOR = 0x8002
CONST GL_CONSTANT_ALPHA = 0x8003
CONST GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004
CONST GL_COLOR_TABLE = 0x80D0
CONST GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1
CONST GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2
CONST GL_PROXY_COLOR_TABLE = 0x80D3
CONST GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4
CONST GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5
CONST GL_COLOR_TABLE_SCALE = 0x80D6
CONST GL_COLOR_TABLE_BIAS = 0x80D7
CONST GL_COLOR_TABLE_FORMAT = 0x80D8
CONST GL_COLOR_TABLE_WIDTH = 0x80D9
CONST GL_COLOR_TABLE_RED_SIZE = 0x80DA
CONST GL_COLOR_TABLE_GREEN_SIZE = 0x80DB
CONST GL_COLOR_TABLE_BLUE_SIZE = 0x80DC
CONST GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD
CONST GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE
CONST GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF
CONST GL_CONVOLUTION_1D = 0x8010
CONST GL_CONVOLUTION_2D = 0x8011
CONST GL_SEPARABLE_2D = 0x8012
CONST GL_CONVOLUTION_BORDER_MODE = 0x8013
CONST GL_CONVOLUTION_FILTER_SCALE = 0x8014
CONST GL_CONVOLUTION_FILTER_BIAS = 0x8015
CONST GL_REDUCE = 0x8016
CONST GL_CONVOLUTION_FORMAT = 0x8017
CONST GL_CONVOLUTION_WIDTH = 0x8018
CONST GL_CONVOLUTION_HEIGHT = 0x8019
CONST GL_MAX_CONVOLUTION_WIDTH = 0x801A
CONST GL_MAX_CONVOLUTION_HEIGHT = 0x801B
CONST GL_POST_CONVOLUTION_RED_SCALE = 0x801C
CONST GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D
CONST GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E
CONST GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F
CONST GL_POST_CONVOLUTION_RED_BIAS = 0x8020
CONST GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021
CONST GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022
CONST GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023
CONST GL_CONSTANT_BORDER = 0x8151
CONST GL_REPLICATE_BORDER = 0x8153
CONST GL_CONVOLUTION_BORDER_COLOR = 0x8154
CONST GL_COLOR_MATRIX = 0x80B1
CONST GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2
CONST GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3
CONST GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4
CONST GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5
CONST GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6
CONST GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7
CONST GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8
CONST GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9
CONST GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA
CONST GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB
CONST GL_HISTOGRAM = 0x8024
CONST GL_PROXY_HISTOGRAM = 0x8025
CONST GL_HISTOGRAM_WIDTH = 0x8026
CONST GL_HISTOGRAM_FORMAT = 0x8027
CONST GL_HISTOGRAM_RED_SIZE = 0x8028
CONST GL_HISTOGRAM_GREEN_SIZE = 0x8029
CONST GL_HISTOGRAM_BLUE_SIZE = 0x802A
CONST GL_HISTOGRAM_ALPHA_SIZE = 0x802B
CONST GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C
CONST GL_HISTOGRAM_SINK = 0x802D
CONST GL_MINMAX = 0x802E
CONST GL_MINMAX_FORMAT = 0x802F
CONST GL_MINMAX_SINK = 0x8030
CONST GL_TABLE_TOO_LARGE = 0x8031
CONST GL_BLEND_EQUATION = 0x8009
CONST GL_MIN = 0x8007
CONST GL_MAX = 0x8008
CONST GL_FUNC_ADD = 0x8006
CONST GL_FUNC_SUBTRACT = 0x800A
CONST GL_FUNC_REVERSE_SUBTRACT = 0x800B
CONST GL_BLEND_COLOR = 0x8005
CONST GL_TEXTURE0 = 0x84C0
CONST GL_TEXTURE1 = 0x84C1
CONST GL_TEXTURE2 = 0x84C2
CONST GL_TEXTURE3 = 0x84C3
CONST GL_TEXTURE4 = 0x84C4
CONST GL_TEXTURE5 = 0x84C5
CONST GL_TEXTURE6 = 0x84C6
CONST GL_TEXTURE7 = 0x84C7
CONST GL_TEXTURE8 = 0x84C8
CONST GL_TEXTURE9 = 0x84C9
CONST GL_TEXTURE10 = 0x84CA
CONST GL_TEXTURE11 = 0x84CB
CONST GL_TEXTURE12 = 0x84CC
CONST GL_TEXTURE13 = 0x84CD
CONST GL_TEXTURE14 = 0x84CE
CONST GL_TEXTURE15 = 0x84CF
CONST GL_TEXTURE16 = 0x84D0
CONST GL_TEXTURE17 = 0x84D1
CONST GL_TEXTURE18 = 0x84D2
CONST GL_TEXTURE19 = 0x84D3
CONST GL_TEXTURE20 = 0x84D4
CONST GL_TEXTURE21 = 0x84D5
CONST GL_TEXTURE22 = 0x84D6
CONST GL_TEXTURE23 = 0x84D7
CONST GL_TEXTURE24 = 0x84D8
CONST GL_TEXTURE25 = 0x84D9
CONST GL_TEXTURE26 = 0x84DA
CONST GL_TEXTURE27 = 0x84DB
CONST GL_TEXTURE28 = 0x84DC
CONST GL_TEXTURE29 = 0x84DD
CONST GL_TEXTURE30 = 0x84DE
CONST GL_TEXTURE31 = 0x84DF
CONST GL_ACTIVE_TEXTURE = 0x84E0
CONST GL_CLIENT_ACTIVE_TEXTURE = 0x84E1
CONST GL_MAX_TEXTURE_UNITS = 0x84E2
CONST GL_NORMAL_MAP = 0x8511
CONST GL_REFLECTION_MAP = 0x8512
CONST GL_TEXTURE_CUBE_MAP = 0x8513
CONST GL_TEXTURE_BINDING_CUBE_MAP = 0x8514
CONST GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
CONST GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
CONST GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
CONST GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
CONST GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
CONST GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
CONST GL_PROXY_TEXTURE_CUBE_MAP = 0x851B
CONST GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C
CONST GL_COMPRESSED_ALPHA = 0x84E9
CONST GL_COMPRESSED_LUMINANCE = 0x84EA
CONST GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB
CONST GL_COMPRESSED_INTENSITY = 0x84EC
CONST GL_COMPRESSED_RGB = 0x84ED
CONST GL_COMPRESSED_RGBA = 0x84EE
CONST GL_TEXTURE_COMPRESSION_HINT = 0x84EF
CONST GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0
CONST GL_TEXTURE_COMPRESSED = 0x86A1
CONST GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2
CONST GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3
CONST GL_MULTISAMPLE = 0x809D
CONST GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E
CONST GL_SAMPLE_ALPHA_TO_ONE = 0x809F
CONST GL_SAMPLE_COVERAGE = 0x80A0
CONST GL_SAMPLE_BUFFERS = 0x80A8
CONST GL_SAMPLES = 0x80A9
CONST GL_SAMPLE_COVERAGE_VALUE = 0x80AA
CONST GL_SAMPLE_COVERAGE_INVERT = 0x80AB
CONST GL_MULTISAMPLE_BIT = 0x20000000
CONST GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3
CONST GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4
CONST GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5
CONST GL_TRANSPOSE_COLOR_MATRIX = 0x84E6
CONST GL_COMBINE = 0x8570
CONST GL_COMBINE_RGB = 0x8571
CONST GL_COMBINE_ALPHA = 0x8572
CONST GL_SOURCE0_RGB = 0x8580
CONST GL_SOURCE1_RGB = 0x8581
CONST GL_SOURCE2_RGB = 0x8582
CONST GL_SOURCE0_ALPHA = 0x8588
CONST GL_SOURCE1_ALPHA = 0x8589
CONST GL_SOURCE2_ALPHA = 0x858A
CONST GL_OPERAND0_RGB = 0x8590
CONST GL_OPERAND1_RGB = 0x8591
CONST GL_OPERAND2_RGB = 0x8592
CONST GL_OPERAND0_ALPHA = 0x8598
CONST GL_OPERAND1_ALPHA = 0x8599
CONST GL_OPERAND2_ALPHA = 0x859A
CONST GL_RGB_SCALE = 0x8573
CONST GL_ADD_SIGNED = 0x8574
CONST GL_INTERPOLATE = 0x8575
CONST GL_SUBTRACT = 0x84E7
CONST GL_CONSTANT = 0x8576
CONST GL_PRIMARY_COLOR = 0x8577
CONST GL_PREVIOUS = 0x8578
CONST GL_DOT3_RGB = 0x86AE
CONST GL_DOT3_RGBA = 0x86AF
CONST GL_CLAMP_TO_BORDER = 0x812D
CONST GL_ARB_multitexture = 1
CONST GL_TEXTURE0_ARB = 0x84C0
CONST GL_TEXTURE1_ARB = 0x84C1
CONST GL_TEXTURE2_ARB = 0x84C2
CONST GL_TEXTURE3_ARB = 0x84C3
CONST GL_TEXTURE4_ARB = 0x84C4
CONST GL_TEXTURE5_ARB = 0x84C5
CONST GL_TEXTURE6_ARB = 0x84C6
CONST GL_TEXTURE7_ARB = 0x84C7
CONST GL_TEXTURE8_ARB = 0x84C8
CONST GL_TEXTURE9_ARB = 0x84C9
CONST GL_TEXTURE10_ARB = 0x84CA
CONST GL_TEXTURE11_ARB = 0x84CB
CONST GL_TEXTURE12_ARB = 0x84CC
CONST GL_TEXTURE13_ARB = 0x84CD
CONST GL_TEXTURE14_ARB = 0x84CE
CONST GL_TEXTURE15_ARB = 0x84CF
CONST GL_TEXTURE16_ARB = 0x84D0
CONST GL_TEXTURE17_ARB = 0x84D1
CONST GL_TEXTURE18_ARB = 0x84D2
CONST GL_TEXTURE19_ARB = 0x84D3
CONST GL_TEXTURE20_ARB = 0x84D4
CONST GL_TEXTURE21_ARB = 0x84D5
CONST GL_TEXTURE22_ARB = 0x84D6
CONST GL_TEXTURE23_ARB = 0x84D7
CONST GL_TEXTURE24_ARB = 0x84D8
CONST GL_TEXTURE25_ARB = 0x84D9
CONST GL_TEXTURE26_ARB = 0x84DA
CONST GL_TEXTURE27_ARB = 0x84DB
CONST GL_TEXTURE28_ARB = 0x84DC
CONST GL_TEXTURE29_ARB = 0x84DD
CONST GL_TEXTURE30_ARB = 0x84DE
CONST GL_TEXTURE31_ARB = 0x84DF
CONST GL_ACTIVE_TEXTURE_ARB = 0x84E0
CONST GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1
CONST GL_MAX_TEXTURE_UNITS_ARB = 0x84E2
CONST GL_MESA_shader_debug = 1
CONST GL_DEBUG_OBJECT_MESA = 0x8759
CONST GL_DEBUG_PRINT_MESA = 0x875A
CONST GL_DEBUG_ASSERT_MESA = 0x875B
CONST GL_MESA_packed_depth_stencil = 1
CONST GL_DEPTH_STENCIL_MESA = 0x8750
CONST GL_UNSIGNED_INT_24_8_MESA = 0x8751
CONST GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752
CONST GL_UNSIGNED_SHORT_15_1_MESA = 0x8753
CONST GL_UNSIGNED_SHORT_1_15_REV_MESA = 0x8754
CONST GL_MESA_program_debug = 1
CONST GL_FRAGMENT_PROGRAM_POSITION_MESA = 0x8bb0
CONST GL_FRAGMENT_PROGRAM_CALLBACK_MESA = 0x8bb1
CONST GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb2
CONST GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA = 0x8bb3
CONST GL_VERTEX_PROGRAM_POSITION_MESA = 0x8bb4
CONST GL_VERTEX_PROGRAM_CALLBACK_MESA = 0x8bb5
CONST GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA = 0x8bb6
CONST GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA = 0x8bb7
CONST GL_MESA_texture_array = 1
CONST GL_TEXTURE_1D_ARRAY_EXT = 0x8C18
CONST GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19
CONST GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A
CONST GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B
CONST GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C
CONST GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D
CONST GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF
CONST GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT = 0x8CD4
CONST GL_ATI_blend_equation_separate = 1
CONST GL_ALPHA_BLEND_EQUATION_ATI = 0x883D

IMPORT "glClearIndex(float)" FROM gl_LIB$ TYPE void
IMPORT "glClearColor(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glClear(int)" FROM gl_LIB$ TYPE void
IMPORT "glIndexMask(int)" FROM gl_LIB$ TYPE void
IMPORT "glColorMask(char,char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glAlphaFunc(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glBlendFunc(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glLogicOp(int)" FROM gl_LIB$ TYPE void
IMPORT "glCullFace(int)" FROM gl_LIB$ TYPE void
IMPORT "glFrontFace(int)" FROM gl_LIB$ TYPE void
IMPORT "glPointSize(float)" FROM gl_LIB$ TYPE void
IMPORT "glLineWidth(float)" FROM gl_LIB$ TYPE void
IMPORT "glLineStipple(int,short)" FROM gl_LIB$ TYPE void
IMPORT "glPolygonMode(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPolygonOffset(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glPolygonStipple(char*)" FROM gl_LIB$ TYPE void
IMPORT "glGetPolygonStipple(char*)" FROM gl_LIB$ TYPE void
IMPORT "glEdgeFlag(char)" FROM gl_LIB$ TYPE void
IMPORT "glEdgeFlagv(char*)" FROM gl_LIB$ TYPE void
IMPORT "glScissor(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glClipPlane(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetClipPlane(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glDrawBuffer(int)" FROM gl_LIB$ TYPE void
IMPORT "glReadBuffer(int)" FROM gl_LIB$ TYPE void
IMPORT "glEnable(int)" FROM gl_LIB$ TYPE void
IMPORT "glDisable(int)" FROM gl_LIB$ TYPE void
IMPORT "glIsEnabled(int)" FROM gl_LIB$ TYPE char
IMPORT "glEnableClientState(int)" FROM gl_LIB$ TYPE void
IMPORT "glDisableClientState(int)" FROM gl_LIB$ TYPE void
IMPORT "glGetBooleanv(int,char*)" FROM gl_LIB$ TYPE void
IMPORT "glGetDoublev(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetFloatv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetIntegerv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glPushAttrib(int)" FROM gl_LIB$ TYPE void
IMPORT "glPopAttrib(void)" FROM gl_LIB$ TYPE void
IMPORT "glPushClientAttrib(int)" FROM gl_LIB$ TYPE void
IMPORT "glPopClientAttrib(void)" FROM gl_LIB$ TYPE void
IMPORT "glRenderMode(int)" FROM gl_LIB$ TYPE int
IMPORT "glGetError(void)" FROM gl_LIB$ TYPE int
IMPORT "glFinish(void)" FROM gl_LIB$ TYPE void
IMPORT "glFlush(void)" FROM gl_LIB$ TYPE void
IMPORT "glHint(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glClearDepth(double)" FROM gl_LIB$ TYPE void
IMPORT "glDepthFunc(int)" FROM gl_LIB$ TYPE void
IMPORT "glDepthMask(char)" FROM gl_LIB$ TYPE void
IMPORT "glDepthRange(double,double)" FROM gl_LIB$ TYPE void
IMPORT "glClearAccum(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glAccum(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glMatrixMode(int)" FROM gl_LIB$ TYPE void
IMPORT "glOrtho(double,double,double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glFrustum(double,double,double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glViewport(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPushMatrix(void)" FROM gl_LIB$ TYPE void
IMPORT "glPopMatrix(void)" FROM gl_LIB$ TYPE void
IMPORT "glLoadIdentity(void)" FROM gl_LIB$ TYPE void
IMPORT "glLoadMatrixd(long)" FROM gl_LIB$ TYPE void
IMPORT "glLoadMatrixf(long)" FROM gl_LIB$ TYPE void
IMPORT "glMultMatrixd(long)" FROM gl_LIB$ TYPE void
IMPORT "glMultMatrixf(long)" FROM gl_LIB$ TYPE void
IMPORT "glRotated(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glRotatef(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glScaled(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glScalef(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glTranslated(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glTranslatef(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glIsList(int)" FROM gl_LIB$ TYPE char
IMPORT "glDeleteLists(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glGenLists(int)" FROM gl_LIB$ TYPE int
IMPORT "glNewList(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glEndList(void)" FROM gl_LIB$ TYPE void
IMPORT "glCallList(int)" FROM gl_LIB$ TYPE void
IMPORT "glCallLists(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glListBase(int)" FROM gl_LIB$ TYPE void
IMPORT "glBegin(int)" FROM gl_LIB$ TYPE void
IMPORT "glEnd(void)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2d(double,double)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2f(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2i(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2s(short,short)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3d(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3f(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3s(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4d(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4f(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4i(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4s(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex2sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex3sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glVertex4sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3b(char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3d(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3f(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3s(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3bv(long)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glNormal3sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexd(double)" FROM gl_LIB$ TYPE void
IMPORT "glIndexf(float)" FROM gl_LIB$ TYPE void
IMPORT "glIndexi(int)" FROM gl_LIB$ TYPE void
IMPORT "glIndexs(short)" FROM gl_LIB$ TYPE void
IMPORT "glIndexub(char)" FROM gl_LIB$ TYPE void
IMPORT "glIndexdv(long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexfv(long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexiv(long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexsv(long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexubv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3b(char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glColor3d(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glColor3f(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glColor3i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glColor3s(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glColor3ub(char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glColor3ui(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glColor3us(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glColor4b(char,char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glColor4d(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glColor4f(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glColor4i(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glColor4s(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glColor4ub(char,char,char,char)" FROM gl_LIB$ TYPE void
IMPORT "glColor4ui(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glColor4us(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glColor3bv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3ubv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3uiv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor3usv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4bv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4ubv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4uiv(long)" FROM gl_LIB$ TYPE void
IMPORT "glColor4usv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1d(double)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1f(float)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1i(int)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1s(short)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2d(double,double)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2f(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2i(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2s(short,short)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3d(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3f(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3s(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4d(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4f(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4i(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4s(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord1sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord2sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord3sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoord4sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2d(double,double)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2f(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2i(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2s(short,short)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3d(double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3f(float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3s(short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4d(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4f(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4i(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4s(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos2sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos3sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4iv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRasterPos4sv(long)" FROM gl_LIB$ TYPE void
IMPORT "glRectd(double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glRectf(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glRecti(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glRects(short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glRectdv(long,long)" FROM gl_LIB$ TYPE void
IMPORT "glRectfv(long,long)" FROM gl_LIB$ TYPE void
IMPORT "glRectiv(long,long)" FROM gl_LIB$ TYPE void
IMPORT "glRectsv(long,long)" FROM gl_LIB$ TYPE void
IMPORT "glVertexPointer(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glNormalPointer(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glColorPointer(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glIndexPointer(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexCoordPointer(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glEdgeFlagPointer(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetPointerv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glArrayElement(int)" FROM gl_LIB$ TYPE void
IMPORT "glDrawArrays(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glDrawElements(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glInterleavedArrays(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glShadeModel(int)" FROM gl_LIB$ TYPE void
IMPORT "glLightf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glLighti(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glLightfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glLightiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetLightfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetLightiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glLightModelf(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glLightModeli(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glLightModelfv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glLightModeliv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMaterialf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glMateriali(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMaterialfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMaterialiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMaterialfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMaterialiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glColorMaterial(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPixelZoom(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glPixelStoref(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glPixelStorei(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPixelTransferf(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glPixelTransferi(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPixelMapfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glPixelMapuiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glPixelMapusv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetPixelMapfv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetPixelMapuiv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetPixelMapusv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glBitmap(int,int,float,float,float,float,long)" FROM gl_LIB$ TYPE void
IMPORT "glReadPixels(int,int,int,int,int,int,void*)" FROM gl_LIB$ TYPE void
IMPORT "glDrawPixels(int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCopyPixels(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glStencilFunc(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glStencilMask(int)" FROM gl_LIB$ TYPE void
IMPORT "glStencilOp(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glClearStencil(int)" FROM gl_LIB$ TYPE void
IMPORT "glTexGend(int,int,double)" FROM gl_LIB$ TYPE void
IMPORT "glTexGenf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexGeni(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexGendv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexGenfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexGeniv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexGendv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexGenfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexGeniv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexEnvf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexEnvi(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexEnvfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexEnviv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexEnvfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexEnviv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexParameterf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glTexParameteri(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glTexParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexLevelParameterfv(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexLevelParameteriv(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexImage1D(int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexImage2D(int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetTexImage(int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGenTextures(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glDeleteTextures(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glBindTexture(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glPrioritizeTextures(int,long,long)" FROM gl_LIB$ TYPE void
IMPORT "glAreTexturesResident(int,long,long)" FROM gl_LIB$ TYPE char
IMPORT "glIsTexture(int)" FROM gl_LIB$ TYPE char
IMPORT "glTexSubImage1D(int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexSubImage2D(int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCopyTexImage1D(int,int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glCopyTexImage2D(int,int,int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glCopyTexSubImage1D(int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glCopyTexSubImage2D(int,int,int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMap1d(int,double,double,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMap1f(int,float,float,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMap2d(int,double,double,int,int,double,double,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMap2f(int,float,float,int,int,float,float,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMapdv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMapfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMapiv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord1d(double)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord1f(float)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord1dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord1fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord2d(double,double)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord2f(float,float)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord2dv(long)" FROM gl_LIB$ TYPE void
IMPORT "glEvalCoord2fv(long)" FROM gl_LIB$ TYPE void
IMPORT "glMapGrid1d(int,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMapGrid1f(int,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMapGrid2d(int,double,double,int,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMapGrid2f(int,float,float,int,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glEvalPoint1(int)" FROM gl_LIB$ TYPE void
IMPORT "glEvalPoint2(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glEvalMesh1(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glEvalMesh2(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glFogf(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glFogi(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glFogfv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glFogiv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glFeedbackBuffer(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glPassThrough(float)" FROM gl_LIB$ TYPE void
IMPORT "glSelectBuffer(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glInitNames(void)" FROM gl_LIB$ TYPE void
IMPORT "glLoadName(int)" FROM gl_LIB$ TYPE void
IMPORT "glPushName(int)" FROM gl_LIB$ TYPE void
IMPORT "glPopName(void)" FROM gl_LIB$ TYPE void
IMPORT "glDrawRangeElements(int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexImage3D(int,int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glTexSubImage3D(int,int,int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCopyTexSubImage3D(int,int,int,int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glColorTable(int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glColorSubTable(int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glColorTableParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glColorTableParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCopyColorSubTable(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glCopyColorTable(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glGetColorTable(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetColorTableParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetColorTableParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glBlendEquation(int)" FROM gl_LIB$ TYPE void
IMPORT "glBlendColor(float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glHistogram(int,int,int,char)" FROM gl_LIB$ TYPE void
IMPORT "glResetHistogram(int)" FROM gl_LIB$ TYPE void
IMPORT "glGetHistogram(int,char,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetHistogramParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetHistogramParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMinmax(int,int,char)" FROM gl_LIB$ TYPE void
IMPORT "glResetMinmax(int)" FROM gl_LIB$ TYPE void
IMPORT "glGetMinmax(int,char,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMinmaxParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetMinmaxParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionFilter1D(int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionFilter2D(int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionParameterf(int,int,float)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionParameteri(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glConvolutionParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCopyConvolutionFilter1D(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glCopyConvolutionFilter2D(int,int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glGetConvolutionFilter(int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetConvolutionParameterfv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetConvolutionParameteriv(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glSeparableFilter2D(int,int,int,int,int,int,long,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetSeparableFilter(int,int,int,long,long,long)" FROM gl_LIB$ TYPE void
IMPORT "glActiveTexture(int)" FROM gl_LIB$ TYPE void
IMPORT "glClientActiveTexture(int)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexImage1D(int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexImage2D(int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexImage3D(int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexSubImage1D(int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexSubImage2D(int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glCompressedTexSubImage3D(int,int,int,int,int,int,int,int,int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glGetCompressedTexImage(int,int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1d(int,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1dv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1f(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1fv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1i(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1iv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1s(int,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1sv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2d(int,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2dv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2f(int,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2fv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2i(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2iv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2s(int,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2sv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3d(int,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3dv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3f(int,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3fv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3i(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3iv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3s(int,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3sv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4d(int,double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4dv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4f(int,float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4fv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4i(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4iv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4s(int,short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4sv(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glLoadTransposeMatrixd(double)" FROM gl_LIB$ TYPE void
IMPORT "glLoadTransposeMatrixf(float)" FROM gl_LIB$ TYPE void
IMPORT "glMultTransposeMatrixd(double)" FROM gl_LIB$ TYPE void
IMPORT "glMultTransposeMatrixf(float)" FROM gl_LIB$ TYPE void
IMPORT "glSampleCoverage(float,char)" FROM gl_LIB$ TYPE void
IMPORT "glActiveTextureARB(int)" FROM gl_LIB$ TYPE void
IMPORT "glClientActiveTextureARB(int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1dARB(int,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1dvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1fARB(int,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1fvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1iARB(int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1ivARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1sARB(int,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord1svARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2dARB(int,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2dvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2fARB(int,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2fvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2iARB(int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2ivARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2sARB(int,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord2svARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3dARB(int,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3dvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3fARB(int,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3fvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3iARB(int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3ivARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3sARB(int,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord3svARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4dARB(int,double,double,double,double)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4dvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4fARB(int,float,float,float,float)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4fvARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4iARB(int,int,int,int,int)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4ivARB(int,long)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4sARB(int,short,short,short,short)" FROM gl_LIB$ TYPE void
IMPORT "glMultiTexCoord4svARB(int,long)" FROM gl_LIB$ TYPE void

CATCH RESET