MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / disableTexture2D

Method disableTexture2D

src/main/java/net/optifine/shaders/Shaders.java:5434–5444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5432 }
5433
5434 public static void disableTexture2D()
5435 {
5436 if (isRenderingSky)
5437 {
5438 useProgram(ProgramSkyBasic);
5439 }
5440 else if (activeProgram == ProgramTextured || activeProgram == ProgramTexturedLit)
5441 {
5442 useProgram(ProgramBasic);
5443 }
5444 }
5445
5446 public static void pushProgram()
5447 {

Callers 4

glDisableWrapperMethod · 0.95
sglDisableT2DMethod · 0.95
renderSkyMethod · 0.95
drawSelectionBoxMethod · 0.95

Calls 1

useProgramMethod · 0.95

Tested by

no test coverage detected