mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
fix(render): don't explicitly set texture parameter settings
This commit is contained in:
parent
0cd062833c
commit
009279bb1b
|
|
@ -804,12 +804,16 @@ void GameRenderer::turnOnLightLayer(double alpha) { // 4J - TODO
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
// update light texture
|
||||||
|
// todo: check implementation of getLightTexture.
|
||||||
RenderManager.TextureBindVertex(
|
RenderManager.TextureBindVertex(
|
||||||
getLightTexture(mc->player->GetXboxPad(), mc->level));
|
getLightTexture(mc->player->GetXboxPad(), mc->level));
|
||||||
|
#if 0
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4J - change brought forward from 1.8.2
|
// 4J - change brought forward from 1.8.2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue