Преглед на файлове

update VideoPlayer constructor to new official prototype

Edward Rudd преди 13 години
родител
ревизия
ea57f76ac0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      MacOS/VideoPlayer/Game1.cs

+ 1 - 1
MacOS/VideoPlayer/Game1.cs

@@ -66,7 +66,7 @@ namespace MonoGame.Samples.VideoPlayer
 			font = Content.Load<SpriteFont> ("spriteFont1");
 			
 			video = Content.Load<Video> ("sintel_trailer");
-			videoPlayer = new Microsoft.Xna.Framework.Media.VideoPlayer(this);
+			videoPlayer = new Microsoft.Xna.Framework.Media.VideoPlayer();
 			playVideo = true;
 		}