fix(render): don't explicitly set texture parameter settings
This commit is contained in:
1 parent
0cd062833c
commit
009279bb1b
1 file changed
+4
@@ -804,12 +804,16 @@ void GameRenderer::turnOnLightLayer(double alpha) { // 4J - TODO
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
}
|
||||
#endif
|
||||
// update light texture
|
||||
// todo: check implementation of getLightTexture.
|
||||
RenderManager.TextureBindVertex(
|
||||
getLightTexture(mc->player->GetXboxPad(), mc->level));
|
||||
#if 0
|
||||
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_WRAP_S, GL_CLAMP);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
|
||||
#endif
|
||||
}
|
||||
|
||||
// 4J - change brought forward from 1.8.2
|
||||
|
||||
Reference in new issue
Block a user