Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Jun 27, 2024
1 parent e0835c1 commit 98c68cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/objects/VideoSprite.hx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class VideoSprite extends FlxSpriteGroup {
{
#if hxcodec
#elseif hxvlc
var wd:Int = videoSprite.bitmap.width;
var hg:Int = videoSprite.bitmap.height;
var wd:Int = videoSprite.bitmap.bitmapData.width;
var hg:Int = videoSprite.bitmap.bitmapData.height;
#end
trace('Video Resolution: ${wd}x${hg}');
videoSprite.scale.set(FlxG.width / wd, FlxG.height / hg);
Expand Down

0 comments on commit 98c68cd

Please sign in to comment.