Просмотр исходного кода

update VideoPlayer constructor to new official prototype

Edward Rudd 13 лет назад
Родитель
Сommit
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;
 		}