diff --git a/mediapipe/gpu/gl_context_webgl.cc b/mediapipe/gpu/gl_context_webgl.cc index 0f14581b6..7560fca09 100644 --- a/mediapipe/gpu/gl_context_webgl.cc +++ b/mediapipe/gpu/gl_context_webgl.cc @@ -32,7 +32,7 @@ namespace mediapipe { // TODO: Handle webGL "context lost" and "context restored" events. GlContext::StatusOrGlContext GlContext::Create(std::nullptr_t nullp, bool create_thread) { - return Create(0, create_thread); + return Create(static_cast(0), create_thread); } GlContext::StatusOrGlContext GlContext::Create(const GlContext& share_context,