Browse Source

Linux mojo now uses opengl (was gles).

marksibly 8 năm trước cách đây
mục cha
commit
125ed79716
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      modules/mojo/app/app.monkey2

+ 2 - 2
modules/mojo/app/app.monkey2

@@ -117,11 +117,11 @@ Class AppInstance
 		Case "es"
 			gl_profile=SDL_GL_CONTEXT_PROFILE_ES
 		Default
-#If __TARGET__="macos"
+#If __TARGET__="macos" Or __TARGET__="linux"
 			gl_profile=SDL_GL_CONTEXT_PROFILE_COMPATIBILITY	'no gles20 on macos...
 #Else
 			gl_profile=SDL_GL_CONTEXT_PROFILE_ES
-#Endif		
+#Endif
 		End
 
 		SDL_GL_SetAttribute( SDL_GL_CONTEXT_PROFILE_MASK,gl_profile )