summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef
diff options
context:
space:
mode:
authorCallum Linden <callum@lindenlab.com>2016-07-20 19:54:54 -0700
committerCallum Linden <callum@lindenlab.com>2016-07-20 19:54:54 -0700
commit8a25489591d6f7c6c8aa95c98bbdcfe06d075c00 (patch)
treecc520cfa6a698d133ffa727ab81f002670927244 /indra/media_plugins/cef
parentcd47f86c4ab6dd2bdeb98db06acd64d02cdff96f (diff)
MAINT-6578 Broken texture batching - fixed along with misc LibVLC plugin additions (status, titles, looping)
Diffstat (limited to 'indra/media_plugins/cef')
-rw-r--r--indra/media_plugins/cef/media_plugin_cef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp
index be16ff7946..28a8a5886a 100644
--- a/indra/media_plugins/cef/media_plugin_cef.cpp
+++ b/indra/media_plugins/cef/media_plugin_cef.cpp
@@ -189,7 +189,7 @@ void MediaPluginCEF::onPageChangedCallback(unsigned char* pixels, int x, int y,
mPopupH = height;
mPopupW = width;
mPopupX = x;
- mPopupY = y;
+ mPopupY = mHeight - y - height;
}
}
else
@@ -526,7 +526,7 @@ void MediaPluginCEF::receiveMessage(const char* message_string)
message.setValueU32("internalformat", GL_RGB);
message.setValueU32("format", GL_BGRA);
message.setValueU32("type", GL_UNSIGNED_BYTE);
- message.setValueBoolean("coords_opengl", false);
+ message.setValueBoolean("coords_opengl", true);
sendMessage(message);
}
else if (message_name == "set_user_data_path")