BUG-18252 - media flipped on OS X when played in 2D browser
parent
66e8ed2807
commit
4796f717c2
|
|
@ -921,7 +921,10 @@ void MediaPluginQuickTime::receiveMessage(const char *message_string)
|
|||
#endif
|
||||
message.setValueS32("depth", mDepth);
|
||||
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);
|
||||
sendMessage(message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue