소스 검색

Re-initialise after context deletion. Fixes #12

woollybah 7 년 전
부모
커밋
407f4d7682
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      gl2sdlmax2d.mod/gl2sdlmax2d.bmx

+ 2 - 0
gl2sdlmax2d.mod/gl2sdlmax2d.bmx

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