Remove local flip (as part of resize) in QuickTime plugin for OSX

meow-7.2.2
callum_linden 2016-05-31 09:41:37 -07:00
parent 282956e768
commit dca6153c23
1 changed files with 3 additions and 1 deletions

View File

@ -311,7 +311,9 @@ private:
MatrixRecord transform;
SetIdentityMatrix( &transform ); // transforms are additive so start from identify matrix
double scaleX = (double) mWidth / mNaturalWidth;
double scaleY = -1.0 * (double) mHeight / mNaturalHeight;
// 2016-05-31 CP remove local flip (via -1.0) since texture coods for media on a prim are now flipped for VLC/CEF
double scaleY = 1.0 * (double) mHeight / mNaturalHeight;
double centerX = mWidth / 2.0;
double centerY = mHeight / 2.0;
ScaleMatrix( &transform, X2Fix( scaleX ), X2Fix( scaleY ), X2Fix( centerX ), X2Fix( centerY ) );