mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1397 from Azaezel/SDL_OGL_OMG_BBQQ
From @LuisAntonRebollo -stops infinite loop on exit with SDL2+OGL on Win.
This commit is contained in:
commit
c7dfe3c1f8
1 changed files with 6 additions and 2 deletions
|
|
@ -14,7 +14,9 @@ public:
|
||||||
|
|
||||||
~GLFenceRange()
|
~GLFenceRange()
|
||||||
{
|
{
|
||||||
AssertFatal( mSync == 0, "");
|
//the order of creation/destruction of static variables is indetermined... depends on detail of the build
|
||||||
|
//looks like for some reason on windows + sdl + opengl the order make invalid / wrong the process TODO: Refactor -LAR
|
||||||
|
//AssertFatal( mSync == 0, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void init(U32 start, U32 end)
|
void init(U32 start, U32 end)
|
||||||
|
|
@ -87,7 +89,9 @@ public:
|
||||||
|
|
||||||
~GLOrderedFenceRangeManager( )
|
~GLOrderedFenceRangeManager( )
|
||||||
{
|
{
|
||||||
waitAllRanges( );
|
//the order of creation/destruction of static variables is indetermined... depends on detail of the build
|
||||||
|
//looks like for some reason on windows + sdl + opengl the order make invalid / wrong the process TODO: Refactor -LAR
|
||||||
|
//waitAllRanges( );
|
||||||
}
|
}
|
||||||
|
|
||||||
void protectOrderedRange( U32 start, U32 end )
|
void protectOrderedRange( U32 start, U32 end )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue