mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- 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:
parent
a5441061e9
commit
ad4527c8be
6 changed files with 17 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue