summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/errors.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-04-29 17:39:49 +0200
committerMarek Olšák <[email protected]>2019-07-30 22:04:26 -0400
commitef84d93f3dabfa7e5bca82cfff05e836545a01ea (patch)
tree03d9cc02ccd383c971b84e6b142c15a8a4631222 /src/mesa/main/errors.c
parent7534c536ca0f4b2b123200f421460094034f37a3 (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/mesa/main/errors.c')
0 files changed, 0 insertions, 0 deletions