forked from Mirrorlandia_minetest/irrlicht
Unconditionally load first texture matrix in OpenGL driver
This used to work in Irrlicht 1.8 and I tried to figure out why it no longer did, but failed. fixes minetest/minetest#11206
This commit is contained in:
parent
39cad3e618
commit
6779cb7254
@ -2730,7 +2730,8 @@ void COpenGLDriver::setTextureRenderStates(const SMaterial& material, bool reset
|
||||
{
|
||||
CacheHandler->setActiveTexture(GL_TEXTURE0 + i);
|
||||
|
||||
if (fixedPipeline)
|
||||
// Minetest uses the first texture matrix even with the programmable pipeline
|
||||
if (fixedPipeline || i == 0)
|
||||
{
|
||||
const bool isRTT = tmpTexture->isRenderTarget();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user