Browse Source

Squashed 'src/ted2go/' changes from eab9c36bd..c00d1a952

c00d1a952 Merge branch 'dev'
709340bf9 Opengl 'es' option now is available for windows only

git-subtree-dir: src/ted2go
git-subtree-split: c00d1a9528ec00ea91030b3819121faf187d2a09
Mark Sibly 7 years ago
parent
commit
435ebf2b80
2 changed files with 4 additions and 0 deletions
  1. 2 0
      Ted2.monkey2
  2. 2 0
      dialog/PrefsDialog.monkey2

+ 2 - 0
Ted2.monkey2

@@ -185,9 +185,11 @@ Function Main()
 	
 	SetConfig( "MOJO_INITIAL_THEME_SCALE",jobj.GetString( "themeScale" ) )
 	
+	#If __TARGET__="windows"
 	If Prefs.OpenGlProfile
 		SetConfig( "MOJO_OPENGL_PROFILE",Prefs.OpenGlProfile )
 	Endif
+	#Endif
 	
 	'start the app!
 	'

+ 2 - 0
dialog/PrefsDialog.monkey2

@@ -218,7 +218,9 @@ Class PrefsDialog Extends DialogExt
 		docker.AddView( _mainToolBarVisible,"top" )
 		docker.AddView( _mainProjectSingleClickExpanding,"top" )
 		docker.AddView( _mainPlaceDocsAtBegin,"top" )
+		#If __TARGET__="windows"
 		docker.AddView( _mainUseOpenGlEsProfile,"top" )
+		#Endif
 		docker.AddView( New Label( " " ),"top" )
 		
 		Return docker