瀏覽代碼

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;
 		}