- changed shader loader to load only one shader at a time

This is merely preparation - the actual loading is still in one uninterrupted piece.
This commit is contained in:
Christoph Oelckers 2022-05-13 00:45:27 +02:00
commit 2be13e1b9f
15 changed files with 187 additions and 76 deletions

View file

@ -561,6 +561,11 @@ void OpenGLFrameBuffer::PostProcessScene(bool swscene, int fixedcm, float flash,
GLRenderer->PostProcessScene(fixedcm, flash, afterBloomDrawEndScene2D);
}
bool OpenGLFrameBuffer::CompileNextShader()
{
return GLRenderer->mShaderManager->CompileNextShader();
}
//==========================================================================
//
// OpenGLFrameBuffer :: WipeStartScreen