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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user