2
0
Эх сурвалжийг харах

Re-initialise after context deletion. Fixes #12

woollybah 7 жил өмнө
parent
commit
407f4d7682

+ 2 - 0
gl2sdlmax2d.mod/gl2sdlmax2d.bmx

@@ -758,6 +758,8 @@ Type TGL2Max2DDriver Extends TMax2DDriver
 			TMax2DGraphics.ClearCurrent
 
 			SDLGraphicsDriver().SetGraphics Null
+			
+			inited = Null
 
 			Return
 		EndIf