Bug 1801095 - Don't expose webgl_-prefixed uniforms to webgl. r=gfx-reviewers,lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D164007
This commit is contained in:
Kelsey Gilbert
2022-12-07 02:14:03 +00:00
parent 15d9dca80f
commit 1882d16c5c
4 changed files with 9 additions and 10 deletions

View File

@@ -705,11 +705,6 @@ static bool IsWebglOutOfProcessEnabled() {
return StaticPrefs::webgl_out_of_process();
}
static inline bool StartsWith(const std::string& haystack,
const std::string& needle) {
return haystack.find(needle) == 0;
}
bool ClientWebGLContext::CreateHostContext(const uvec2& requestedSize) {
const auto pNotLost = std::make_shared<webgl::NotLostData>(*this);
auto& notLost = *pNotLost;