Bug 1909019 - Use ParamTraits_TiedFields/_IsEnumCase in WebRenderMessageUtils instead of PlainOldDataSerializer. (partial) r=gw,mccr8,ahale
Differential Revision: https://phabricator.services.mozilla.com/D217508
This commit is contained in:
@@ -5860,7 +5860,7 @@ void ClientWebGLContext::ProvokingVertex(const GLenum rawMode) const {
|
||||
const FuncScope funcScope(*this, "provokingVertex");
|
||||
if (IsContextLost()) return;
|
||||
|
||||
const auto mode = webgl::AsEnumCase<webgl::ProvokingVertex>(rawMode);
|
||||
const auto mode = AsEnumCase<webgl::ProvokingVertex>(rawMode);
|
||||
if (!mode) {
|
||||
EnqueueError_ArgEnum("mode", rawMode);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user