MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetClientActiveTexture

Method SetClientActiveTexture

Source/Graphics/graphics.cpp:1404–1409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1402}
1403
1404void Graphics::SetClientActiveTexture(int index) {
1405 if (shadow_state_.client_active_textures_ != index) {
1406 glClientActiveTexture(GL_TEXTURE0 + index);
1407 shadow_state_.client_active_textures_ = index;
1408 }
1409}
1410
1411GLenum GLEnumTransformer(uint32_t e) {
1412 switch (e) {

Callers 9

DrawMethod · 0.80
StopDrawMethod · 0.80
EndVertexArraysMethod · 0.80
DrawMethod · 0.80
StartPresetMethod · 0.80
EndPresetMethod · 0.80
DrawAltTexCoordsMethod · 0.80
DrawToTextureCoordsMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected