Browse Source

Merge pull request #11 from urkle/VideoPlayerProtoType

Update VideoPlayer constructor call
Dominique Louis 13 years ago
parent
commit
ad446b70e4
1 changed files with 1 additions and 1 deletions
  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");
 			font = Content.Load<SpriteFont> ("spriteFont1");
 			
 			
 			video = Content.Load<Video> ("sintel_trailer");
 			video = Content.Load<Video> ("sintel_trailer");
-			videoPlayer = new Microsoft.Xna.Framework.Media.VideoPlayer(this);
+			videoPlayer = new Microsoft.Xna.Framework.Media.VideoPlayer();
 			playVideo = true;
 			playVideo = true;
 		}
 		}