[GB.OPENGL]

* BUG: Add more OpenGL constants.


git-svn-id: svn://localhost/gambas/trunk@2997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2010-06-09 14:06:09 +00:00
parent 405f8f89fe
commit b065f55995

View file

@ -650,57 +650,57 @@ GB_DESC Cgl[] =
/* Scissor box */ /* Scissor box */
GB_CONSTANT("GL_SCISSOR_BOX", "i", GL_SCISSOR_BOX), GB_CONSTANT("GL_SCISSOR_BOX", "i", GL_SCISSOR_BOX),
GB_CONSTANT("GL_SCISSOR_TEST", "i", GL_SCISSOR_TEST), GB_CONSTANT("GL_SCISSOR_TEST", "i", GL_SCISSOR_TEST),
#if 0
/* Pixel Mode / Transfer */ /* Pixel Mode / Transfer */
#define GL_MAP_COLOR 0x0D10 GB_CONSTANT("GL_MAP_COLOR", "i", GL_MAP_COLOR),
#define GL_MAP_STENCIL 0x0D11 GB_CONSTANT("GL_MAP_STENCIL", "i", GL_MAP_STENCIL),
#define GL_INDEX_SHIFT 0x0D12 GB_CONSTANT("GL_INDEX_SHIFT", "i", GL_INDEX_SHIFT),
#define GL_INDEX_OFFSET 0x0D13 GB_CONSTANT("GL_INDEX_OFFSET", "i", GL_INDEX_OFFSET),
#define GL_RED_SCALE 0x0D14 GB_CONSTANT("GL_RED_SCALE", "i", GL_RED_SCALE),
#define GL_RED_BIAS 0x0D15 GB_CONSTANT("GL_RED_BIAS", "i", GL_RED_BIAS),
#define GL_GREEN_SCALE 0x0D18 GB_CONSTANT("GL_GREEN_SCALE", "i", GL_GREEN_SCALE),
#define GL_GREEN_BIAS 0x0D19 GB_CONSTANT("GL_GREEN_BIAS", "i", GL_GREEN_BIAS),
#define GL_BLUE_SCALE 0x0D1A GB_CONSTANT("GL_BLUE_SCALE", "i", GL_BLUE_SCALE),
#define GL_BLUE_BIAS 0x0D1B GB_CONSTANT("GL_BLUE_BIAS", "i", GL_BLUE_BIAS),
#define GL_ALPHA_SCALE 0x0D1C GB_CONSTANT("GL_ALPHA_SCALE", "i", GL_ALPHA_SCALE),
#define GL_ALPHA_BIAS 0x0D1D GB_CONSTANT("GL_ALPHA_BIAS", "i", GL_ALPHA_BIAS),
#define GL_DEPTH_SCALE 0x0D1E GB_CONSTANT("GL_DEPTH_SCALE", "i", GL_DEPTH_SCALE),
#define GL_DEPTH_BIAS 0x0D1F GB_CONSTANT("GL_DEPTH_BIAS", "i", GL_DEPTH_BIAS),
#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 GB_CONSTANT("GL_PIXEL_MAP_S_TO_S_SIZE", "i", GL_PIXEL_MAP_S_TO_S_SIZE),
#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 GB_CONSTANT("GL_PIXEL_MAP_I_TO_I_SIZE", "i", GL_PIXEL_MAP_I_TO_I_SIZE),
#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 GB_CONSTANT("GL_PIXEL_MAP_I_TO_R_SIZE", "i", GL_PIXEL_MAP_I_TO_R_SIZE),
#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 GB_CONSTANT("GL_PIXEL_MAP_I_TO_G_SIZE", "i", GL_PIXEL_MAP_I_TO_G_SIZE),
#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 GB_CONSTANT("GL_PIXEL_MAP_I_TO_B_SIZE", "i", GL_PIXEL_MAP_I_TO_B_SIZE),
#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 GB_CONSTANT("GL_PIXEL_MAP_I_TO_A_SIZE", "i", GL_PIXEL_MAP_I_TO_A_SIZE),
#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 GB_CONSTANT("GL_PIXEL_MAP_R_TO_R_SIZE", "i", GL_PIXEL_MAP_R_TO_R_SIZE),
#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 GB_CONSTANT("GL_PIXEL_MAP_G_TO_G_SIZE", "i", GL_PIXEL_MAP_G_TO_G_SIZE),
#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 GB_CONSTANT("GL_PIXEL_MAP_B_TO_B_SIZE", "i", GL_PIXEL_MAP_B_TO_B_SIZE),
#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 GB_CONSTANT("GL_PIXEL_MAP_A_TO_A_SIZE", "i", GL_PIXEL_MAP_A_TO_A_SIZE),
#define GL_PIXEL_MAP_S_TO_S 0x0C71 GB_CONSTANT("GL_PIXEL_MAP_S_TO_S", "i", GL_PIXEL_MAP_S_TO_S),
#define GL_PIXEL_MAP_I_TO_I 0x0C70 GB_CONSTANT("GL_PIXEL_MAP_I_TO_I", "i", GL_PIXEL_MAP_I_TO_I),
#define GL_PIXEL_MAP_I_TO_R 0x0C72 GB_CONSTANT("GL_PIXEL_MAP_I_TO_R", "i", GL_PIXEL_MAP_I_TO_R),
#define GL_PIXEL_MAP_I_TO_G 0x0C73 GB_CONSTANT("GL_PIXEL_MAP_I_TO_G", "i", GL_PIXEL_MAP_I_TO_G),
#define GL_PIXEL_MAP_I_TO_B 0x0C74 GB_CONSTANT("GL_PIXEL_MAP_I_TO_B", "i", GL_PIXEL_MAP_I_TO_B),
#define GL_PIXEL_MAP_I_TO_A 0x0C75 GB_CONSTANT("GL_PIXEL_MAP_I_TO_A", "i", GL_PIXEL_MAP_I_TO_A),
#define GL_PIXEL_MAP_R_TO_R 0x0C76 GB_CONSTANT("GL_PIXEL_MAP_R_TO_R", "i", GL_PIXEL_MAP_R_TO_R),
#define GL_PIXEL_MAP_G_TO_G 0x0C77 GB_CONSTANT("GL_PIXEL_MAP_G_TO_G", "i", GL_PIXEL_MAP_G_TO_G),
#define GL_PIXEL_MAP_B_TO_B 0x0C78 GB_CONSTANT("GL_PIXEL_MAP_B_TO_B", "i", GL_PIXEL_MAP_B_TO_B),
#define GL_PIXEL_MAP_A_TO_A 0x0C79 GB_CONSTANT("GL_PIXEL_MAP_A_TO_A", "i", GL_PIXEL_MAP_A_TO_A),
#define GL_PACK_ALIGNMENT 0x0D05 GB_CONSTANT("GL_PACK_ALIGNMENT", "i", GL_PACK_ALIGNMENT),
#define GL_PACK_LSB_FIRST 0x0D01 GB_CONSTANT("GL_PACK_LSB_FIRST", "i", GL_PACK_LSB_FIRST),
#define GL_PACK_ROW_LENGTH 0x0D02 GB_CONSTANT("GL_PACK_ROW_LENGTH", "i", GL_PACK_ROW_LENGTH),
#define GL_PACK_SKIP_PIXELS 0x0D04 GB_CONSTANT("GL_PACK_SKIP_PIXELS", "i", GL_PACK_SKIP_PIXELS),
#define GL_PACK_SKIP_ROWS 0x0D03 GB_CONSTANT("GL_PACK_SKIP_ROWS", "i", GL_PACK_SKIP_ROWS),
#define GL_PACK_SWAP_BYTES 0x0D00 GB_CONSTANT("GL_PACK_SWAP_BYTES", "i", GL_PACK_SWAP_BYTES),
#define GL_UNPACK_ALIGNMENT 0x0CF5 GB_CONSTANT("GL_UNPACK_ALIGNMENT", "i", GL_UNPACK_ALIGNMENT),
#define GL_UNPACK_LSB_FIRST 0x0CF1 GB_CONSTANT("GL_UNPACK_LSB_FIRST", "i", GL_UNPACK_LSB_FIRST),
#define GL_UNPACK_ROW_LENGTH 0x0CF2 GB_CONSTANT("GL_UNPACK_ROW_LENGTH", "i", GL_UNPACK_ROW_LENGTH),
#define GL_UNPACK_SKIP_PIXELS 0x0CF4 GB_CONSTANT("GL_UNPACK_SKIP_PIXELS", "i", GL_UNPACK_SKIP_PIXELS),
#define GL_UNPACK_SKIP_ROWS 0x0CF3 GB_CONSTANT("GL_UNPACK_SKIP_ROWS", "i", GL_UNPACK_SKIP_ROWS),
#define GL_UNPACK_SWAP_BYTES 0x0CF0 GB_CONSTANT("GL_UNPACK_SWAP_BYTES", "i", GL_UNPACK_SWAP_BYTES),
#define GL_ZOOM_X 0x0D16 GB_CONSTANT("GL_ZOOM_X", "i", GL_ZOOM_X),
#define GL_ZOOM_Y 0x0D17 GB_CONSTANT("GL_ZOOM_Y", "i", GL_ZOOM_Y),
#endif
/* Texture mapping */ /* Texture mapping */
GB_CONSTANT("GL_TEXTURE_ENV", "i", GL_TEXTURE_ENV), GB_CONSTANT("GL_TEXTURE_ENV", "i", GL_TEXTURE_ENV),
GB_CONSTANT("GL_TEXTURE_ENV_MODE", "i", GL_TEXTURE_ENV_MODE), GB_CONSTANT("GL_TEXTURE_ENV_MODE", "i", GL_TEXTURE_ENV_MODE),