fix(render): don't explicitly set texture parameter settings

This commit is contained in:
Sally Knight 2026-03-23 02:42:09 +03:00
parent 0cd062833c
commit 009279bb1b

View file

@ -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