瀏覽代碼

Linux mojo now uses opengl (was gles).

marksibly 8 年之前
父節點
當前提交
125ed79716
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/mojo/app/app.monkey2

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

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