Project import generated by Copybara.
GitOrigin-RevId: 27c70b5fe62ab71189d358ca122ee4b19c817a8f
This commit is contained in:
@@ -97,10 +97,10 @@ absl::Status GlContext::CreateContextInternal(
|
||||
} else if (Module && Module.canvasCssSelector) {
|
||||
return cachedFindCanvasEventTarget(Module.canvasCssSelector);
|
||||
}
|
||||
}
|
||||
if (typeof console !== 'undefined') {
|
||||
console.warn('Module properties canvas and canvasCssSelector not ' +
|
||||
'found during WebGL context creation.');
|
||||
if (typeof console !== 'undefined') {
|
||||
console.warn('Module properties canvas and canvasCssSelector not ' +
|
||||
'found during WebGL context creation.');
|
||||
}
|
||||
}
|
||||
// We still go through with the find attempt, although for most use
|
||||
// cases it will not succeed, just in case the user does want to fall-
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#if defined(MEDIAPIPE_USING_SWIFTSHADER) && !defined(NDEBUG)
|
||||
#if defined(MEDIAPIPE_USING_SWIFTSHADER)
|
||||
#define MEDIAPIPE_NEEDS_GL_THREAD_COLLECTOR 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user