diff options
author | Brian Paul <[email protected]> | 2010-10-23 09:37:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-23 10:19:30 -0600 |
commit | 9968a3960f7824e9cfffc366494b19834eff5d40 (patch) | |
tree | e88d79ee18b55b9028f87dfe7b23810aa64275c7 /src/mesa/main | |
parent | f681ea4741c8136b2c169ff17c9d5b49b1d791ba (diff) |
mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/get.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 29a21deebc8..39ce177fcd3 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -173,6 +173,7 @@ union value { #define BUFFER_INT(field) BUFFER_FIELD(field, TYPE_INT) #define BUFFER_ENUM(field) BUFFER_FIELD(field, TYPE_ENUM) +#define BUFFER_BOOL(field) BUFFER_FIELD(field, TYPE_BOOLEAN) #define CONTEXT_INT(field) CONTEXT_FIELD(field, TYPE_INT) #define CONTEXT_INT2(field) CONTEXT_FIELD(field, TYPE_INT_2) @@ -260,6 +261,12 @@ static const int extra_EXT_fog_coord_flush_current[] = { EXTRA_END }; +static const int extra_EXT_texture_integer[] = { + EXT(EXT_texture_integer), + EXTRA_END +}; + + EXTRA_EXT(ARB_multitexture); EXTRA_EXT(ARB_texture_cube_map); EXTRA_EXT(MESA_texture_array); @@ -1144,6 +1151,10 @@ static const struct value_desc values[] = { { GL_MAX_SERVER_WAIT_TIMEOUT, CONTEXT_INT64(Const.MaxServerWaitTimeout), extra_ARB_sync }, + /* GL_EXT_texture_integer */ + { GL_RGBA_INTEGER_MODE_EXT, BUFFER_BOOL(_IntegerColor), + extra_EXT_texture_integer }, + /* GL_EXT_transform_feedback */ { GL_TRANSFORM_FEEDBACK_BUFFER_BINDING, LOC_CUSTOM, TYPE_INT, 0, extra_EXT_transform_feedback }, |