Browse Source

Cleanups.

Mark Sibly 8 years ago
parent
commit
019d0ff4b8

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

@@ -926,7 +926,7 @@ Class AppInstance
 				
 			Case SDL_WINDOWEVENT_FOCUS_GAINED
 			
-				Print "SDL_WINDOWEVENT_FOCUS_GAINED"
+				'Print "SDL_WINDOWEVENT_FOCUS_GAINED"
 			
 				Local active:=_active
 				_activeWindow=_window
@@ -938,7 +938,7 @@ Class AppInstance
 				
 			Case SDL_WINDOWEVENT_FOCUS_LOST
 			
-				Print "SDL_WINDOWEVENT_FOCUS_LOST"
+				'Print "SDL_WINDOWEVENT_FOCUS_LOST"
 			
 				Local active:=_active
 				_active=False
@@ -991,13 +991,13 @@ Class AppInstance
 
 		Case SDL_RENDER_TARGETS_RESET
 		
-			Print "SDL_RENDER_TARGETS_RESET"
+			'Print "SDL_RENDER_TARGETS_RESET"
 		
 			RequestRender()
 			
 		Case SDL_RENDER_DEVICE_RESET
 		
-			Print "SDL_RENDER_DEVICE_RESET"
+			'Print "SDL_RENDER_DEVICE_RESET"
 		
 			mojo.graphics.glutil.glGraphicsSeq+=1
 
@@ -1014,7 +1014,7 @@ Class AppInstance
 		Case SDL_APP_WILLENTERBACKGROUND
 			'Prepare your app to go into the background. Stop loops, etc.
 			'This gets called when the user hits the home button, or gets a call.
-			Print "SDL_APP_WILLENTERBACKGROUND"
+			'Print "SDL_APP_WILLENTERBACKGROUND"
 			_frozen=True
 
 		Case SDL_APP_DIDENTERBACKGROUND
@@ -1030,7 +1030,7 @@ Class AppInstance
 		Case SDL_APP_DIDENTERFOREGROUND
 			'Restart your loops here.
 			'Your app is interactive and getting CPU again.
-			Print "SDL_APP_DIDENTERFOREGROUND"
+			'Print "SDL_APP_DIDENTERFOREGROUND"
 			RequestRender()
 			_frozen=False
 #Endif

+ 4 - 4
modules/mojo/graphics/glexts/glexts.cpp

@@ -60,10 +60,10 @@ namespace bbGLexts{
 			SDL_GL_ExtensionSupported( "GL_WEBGL_depth_texture" ) ||
 			SDL_GL_ExtensionSupported( "GL_OES_depth_texture" );
 		
-		bb_printf( "GL_draw_buffers=%i\n",int( GL_draw_buffers ) );
-		bb_printf( "GL_texture_float=%i\n",int( GL_texture_float ) );
-		bb_printf( "GL_texture_half_float=%i\n",int( GL_texture_half_float ) );
-		bb_printf( "GL_depth_texture=%i\n",int( GL_depth_texture ) );
+//		bb_printf( "GL_draw_buffers=%i\n",int( GL_draw_buffers ) );
+//		bb_printf( "GL_texture_float=%i\n",int( GL_texture_float ) );
+//		bb_printf( "GL_texture_half_float=%i\n",int( GL_texture_half_float ) );
+//		bb_printf( "GL_depth_texture=%i\n",int( GL_depth_texture ) );
 		
 		fflush( stdout );
 	}

+ 5 - 5
modules/mojo/graphics/graphicsdevice.monkey2

@@ -430,11 +430,11 @@ Class GraphicsDevice
 
 		glCheck()
 		
-		#If __CONFIG__="debug"
-		Print "GL_VERSION="+glGetString( GL_VERSION )
-		Print "GL_VENDOR="+glGetString( GL_VENDOR )
-		Print "GL_RENDERER="+glGetString( GL_VENDOR )
-		#Endif
+		'#If __CONFIG__="debug"
+		'Print "GL_VERSION="+glGetString( GL_VERSION )
+		'Print "GL_VENDOR="+glGetString( GL_VENDOR )
+		'Print "GL_RENDERER="+glGetString( GL_VENDOR )
+		'#Endif
 			
 		InitGLexts()
 		

+ 1 - 1
src/mx2cc/buildproduct.monkey2

@@ -407,7 +407,7 @@ Class GccBuildProduct Extends BuildProduct
 			
 		cmd+=(toolchain="msvc" ? " -Fo~q" Else " -o ~q") +obj+"~q ~q"+src+"~q"
 		
-		If toolchain<>"msvc" Print StripDir( src )
+		'If toolchain<>"msvc" Print StripDir( src )
 		
 		Exec( cmd )