mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow
This commit is contained in:
parent
80f28ea801
commit
1663974cbd
@ -920,7 +920,8 @@ static bool SetBlendMode(GLContext* aGL, gfx::CompositionOp aBlendMode, bool aIs
|
||||
dstBlend = LOCAL_GL_ONE_MINUS_SRC_ALPHA;
|
||||
break;
|
||||
default:
|
||||
MOZ_ASSERT(0, "Unsupported blend mode!");
|
||||
MOZ_ASSERT_UNREACHABLE("Unsupported blend mode!");
|
||||
return false;
|
||||
}
|
||||
|
||||
aGL->fBlendFuncSeparate(srcBlend, dstBlend,
|
||||
|
Loading…
Reference in New Issue
Block a user