summaryrefslogtreecommitdiff
path: root/indra/media_plugins/cef/media_plugin_cef.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-07-26 17:49:41 -0400
committerOz Linden <oz@lindenlab.com>2016-07-26 17:49:41 -0400
commit47f2c6bd52a9e929af8ccefa08d11ad18f05602b (patch)
tree77d601c23539f576807f3e2cd8a62603b275905d /indra/media_plugins/cef/media_plugin_cef.cpp
parentbea18c933bd97b838644f0d1738c633495b6b102 (diff)
parent19640c015ecfefde767be49168684b27f5ceabb2 (diff)
merge callums latest changes
Diffstat (limited to 'indra/media_plugins/cef/media_plugin_cef.cpp')
-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")