- initialize the GL backend in the proper place.

As long as there are still video mode switches this needs to be in the video mode switching function.
This commit is contained in:
Christoph Oelckers 2019-09-23 23:33:59 +02:00
parent a5441061e9
commit ad4527c8be
6 changed files with 17 additions and 4 deletions

View file

@ -75,7 +75,7 @@ FSamplerManager::~FSamplerManager()
void FSamplerManager::UnbindAll()
{
for (int i = 0; i < 8 /* fixme */; i++)
for (int i = 0; i < 16 /* fixme */; i++)
{
glBindSampler(i, 0);
}