Mark Sibly пре 7 година
родитељ
комит
cc11804640
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      modules/mojo/graphics/texture.monkey2

+ 0 - 3
modules/mojo/graphics/texture.monkey2

@@ -190,8 +190,6 @@ Class Texture Extends Resource
 	
 	Method New( width:Int,height:Int,format:PixelFormat,flags:TextureFlags )
 		
-		If Not flags DebugStop()
-		
 		Init( width,height,format,flags )
 	End
 	
@@ -400,7 +398,6 @@ Class Texture Extends Resource
 	Method Modified( r:Recti )
 		
 		If _managed 
-			DebugStop()
 			glReadPixels( r.X,r.Y,r.Width,r.Height,GL_RGBA,GL_UNSIGNED_BYTE,_managed.PixelPtr( r.X,r.Y ) )
 		Endif