mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-01 00:12:27 +00:00
- better rebind the active shader after updating the matrices.
This commit is contained in:
parent
b2860a1d63
commit
e35fefdc06
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue