commit | ef84d93f3dabfa7e5bca82cfff05e836545a01ea | [log] [tgz] |
---|---|---|
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | Mon Apr 29 17:39:49 2019 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Tue Jul 30 22:04:26 2019 -0400 |
tree | 03d9cc02ccd383c971b84e6b142c15a8a4631222 | |
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 }