mirror of https://github.com/ZDoom/gzdoom-gles.git
- better rebind the active shader after updating the matrices.
This commit is contained in:
parent
b2860a1d63
commit
e35fefdc06
|
@ -520,6 +520,7 @@ void FShaderManager::ApplyMatrices(VSMatrix *proj, VSMatrix *view)
|
||||||
{
|
{
|
||||||
mEffectShaders[i]->ApplyMatrices(proj, view);
|
mEffectShaders[i]->ApplyMatrices(proj, view);
|
||||||
}
|
}
|
||||||
|
if (mActiveShader != NULL) mActiveShader->Bind();
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in New Issue