Skip to content
Snippets Groups Projects
Commit 4796f717 authored by callum_linden's avatar callum_linden
Browse files

BUG-18252 - media flipped on OS X when played in 2D browser

parent 66e8ed28
No related branches found
No related tags found
No related merge requests found
...@@ -921,7 +921,10 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string) ...@@ -921,7 +921,10 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string)
#endif #endif
message.setValueS32("depth", mDepth); message.setValueS32("depth", mDepth);
message.setValueU32("internalformat", GL_RGB); message.setValueU32("internalformat", GL_RGB);
message.setValueBoolean("coords_opengl", true); // true == use OpenGL-style coordinates, false == (0,0) is upper left.
// note this apparently only has an effect when media is opened in 2D browser.
// see https://jira.secondlife.com/browse/BUG-18252 - media flipped in 2D so flipping it back.
message.setValueBoolean("coords_opengl", false); // true == use OpenGL-style coordinates, false == (0,0) is upper left.
message.setValueBoolean("allow_downsample", true); message.setValueBoolean("allow_downsample", true);
sendMessage(message); sendMessage(message);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment