| 905 | } |
| 906 | |
| 907 | void vtkOpenGLState::vtkglActiveTexture(unsigned int val) |
| 908 | { |
| 909 | vtkOpenGLCheckStateMacro(); |
| 910 | auto& cs = this->Stack.top(); |
| 911 | |
| 912 | #ifndef NO_CACHE |
| 913 | if (cs.ActiveTexture != val) |
| 914 | #endif |
| 915 | { |
| 916 | cs.ActiveTexture = val; |
| 917 | ::glActiveTexture(val); |
| 918 | } |
| 919 | vtkCheckOpenGLErrorsWithStack("glActiveTexture"); |
| 920 | } |
| 921 | |
| 922 | void vtkOpenGLState::Viewport(std::array<GLint, 4> val) |
| 923 | { |
no outgoing calls
no test coverage detected