Remove unncessary Y flip

meow-7.2.2
Callum Prentice 2016-07-25 12:09:55 -07:00
parent 6f09cf76cd
commit 19640c015e
1 changed files with 0 additions and 7 deletions

View File

@ -907,14 +907,7 @@ void LLMediaCtrl::convertInputCoords(S32& x, S32& y)
if(mMediaSource && mMediaSource->hasMedia())
{
// on OS X (maybe Linux) and on 2D media like login/search, the coords are wrong.
// they are fine on 3D media - so we flip (or is it unflip) them here for anything
// except windows (Which appears to be correct on both counts)
#if LL_WINDOWS
coords_opengl = mMediaSource->getMediaPlugin()->getTextureCoordsOpenGL();
#else
coords_opengl = ! mMediaSource->getMediaPlugin()->getTextureCoordsOpenGL();
#endif
}
x = ll_round((F32)x * LLUI::getScaleFactor().mV[VX]);