diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-04-29 17:39:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-30 22:04:26 -0400 |
commit | ef84d93f3dabfa7e5bca82cfff05e836545a01ea (patch) | |
tree | 03d9cc02ccd383c971b84e6b142c15a8a4631222 /src/mapi/glapi/gen/static_data.py | |
parent | 7534c536ca0f4b2b123200f421460094034f37a3 (diff) |
mesa: add EXT_dsa indexed texture commands functions
Added functions:
- EnableClientStateIndexedEXT
- DisableClientStateIndexedEXT
- EnableClientStateiEXT
- DisableClientStateiEXT
Implemented using the idiom provided by the spec:
if (array == TEXTURE_COORD_ARRAY) {
int savedClientActiveTexture;
GetIntegerv(CLIENT_ACTIVE_TEXTURE, &savedClientActiveTexture);
ClientActiveTexture(TEXTURE0+index);
XXX(array);
ClientActiveTexture(savedActiveTexture);
} else {
// Invalid enum
}
Diffstat (limited to 'src/mapi/glapi/gen/static_data.py')
-rw-r--r-- | src/mapi/glapi/gen/static_data.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index 696ba60fa89..4ce68fc01e8 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -1514,6 +1514,8 @@ offsets = { "NamedFramebufferTexture3DEXT": 1478, "NamedFramebufferRenderbufferEXT": 1479, "GetNamedFramebufferAttachmentParameterivEXT": 1480, + "EnableClientStateiEXT": 1481, + "DisableClientStateiEXT": 1482, } |