diff --git a/gfx/gl/GLContextProviderGLX.cpp b/gfx/gl/GLContextProviderGLX.cpp index 178052f8cb..c44b1a9f06 100644 --- a/gfx/gl/GLContextProviderGLX.cpp +++ b/gfx/gl/GLContextProviderGLX.cpp @@ -937,7 +937,7 @@ GLContextGLX::MakeCurrentImpl(bool aForce) Unused << XPending(mDisplay); } if (IsDestroyed()) { - MOZ_ALWAYS_TRUE(mGLX->xMakeCurrent(mDisplay, X11None, nullptr); + MOZ_ALWAYS_TRUE(mGLX->xMakeCurrent(mDisplay, X11None, nullptr)); return false; // We did not MakeCurrent mContext, but that's what we wanted! }