mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1693241 - Add gfxCriticalNote to RenderTextureHostSWGL::LockSWGLCompositeSurface() r=mattwoodrow
It helps to understand Bug 1693208. Differential Revision: https://phabricator.services.mozilla.com/D105418
This commit is contained in:
parent
d0560f6a2e
commit
3d8c6a3911
@ -5,6 +5,8 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "RenderTextureHostSWGL.h"
|
||||
|
||||
#include "mozilla/gfx/Logging.h"
|
||||
#include "RenderThread.h"
|
||||
|
||||
namespace mozilla {
|
||||
@ -170,6 +172,7 @@ bool RenderTextureHostSWGL::LockSWGLCompositeSurface(
|
||||
case gfx::SurfaceFormat::B8G8R8X8:
|
||||
break;
|
||||
default:
|
||||
gfxCriticalNote << "Unhandled external image format: " << GetFormat();
|
||||
MOZ_RELEASE_ASSERT(false, "Unhandled external image format");
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user