Browse Source

some mods for the tests

Kenneth Pouncey 13 years ago
parent
commit
352b63e700

+ 2 - 2
Tests/MacOS/TestDataSetAndGet/Game1.cs

@@ -112,7 +112,7 @@ namespace TestDataSetAndGet
             characterTextureData =
                 new Color[characterTexture.Width * characterTexture.Height];
 			characterTexture.GetData(characterTextureData);
-		personTexture.SetData(characterTextureData);
+		//personTexture.SetData(characterTextureData);
             // Create a sprite batch to draw those textures
             spriteBatch = new SpriteBatch(graphics.GraphicsDevice);
         }
@@ -224,7 +224,7 @@ namespace TestDataSetAndGet
             spriteBatch.Draw(personTexture, personPosition, Color.White);
 			Vector2 characterPosition = personPosition;
 			characterPosition.X += personTexture.Width;
-			//spriteBatch.Draw(characterTexture, characterPosition, Color.White);
+			spriteBatch.Draw(characterTexture, characterPosition, Color.White);
 			
             // Draw blocks
             foreach (Vector2 blockPosition in blockPositions)

+ 1 - 3
Tests/MacOS/TextureScaleColorTest/Game1.cs

@@ -73,9 +73,7 @@ namespace MonoTest
 				new Vector2(400,240),
 				SpriteEffects.None,
 				0);
-			//spriteBatch.Draw(BlankTexture, new Rectangle(100,100,400,240), Color.Red);//, 0, Vector2.Zero, new Vector2(400,240), SpriteEffects.None, 1);
-			//spriteBatch.Draw(BlankTexture, new Vector2(100,100), new Rectangle(0,0,400,200), Color.Green, 0, Vector2.Zero, 1 , SpriteEffects.None, 1);
-            spriteBatch.DrawString(FontCalibri14, "See the transparency near the corners?\nNot what I wanted...\nThis box should be solid green.", new Vector2(150,150), Color.Silver, 0, Vector2.Zero, 1, SpriteEffects.None, 1);
+            spriteBatch.DrawString(FontCalibri14, "There should be no\n transparency near the corners...\n\nThis box should be solid green.", new Vector2(150,150), Color.Silver, 0, Vector2.Zero, 1, SpriteEffects.None, 1);
 			spriteBatch.End();
 		}
 	}