Commit 11c35d0e by Kenneth Russell Committed by Commit Bot

Fix uninitialized variable in driver bug workaround.

Bug: angleproject:4267 No-Try: True Change-Id: I5d9846779e4ac27313ec57b6ded935dbb40e1970 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1995829 Commit-Queue: Kenneth Russell <kbr@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent c6ff255b
...@@ -216,7 +216,8 @@ RendererGL::RendererGL(std::unique_ptr<FunctionsGL> functions, ...@@ -216,7 +216,8 @@ RendererGL::RendererGL(std::unique_ptr<FunctionsGL> functions,
mUseDebugOutput(false), mUseDebugOutput(false),
mCapsInitialized(false), mCapsInitialized(false),
mMultiviewImplementationType(MultiviewImplementationTypeGL::UNSPECIFIED), mMultiviewImplementationType(MultiviewImplementationTypeGL::UNSPECIFIED),
mNativeParallelCompileEnabled(false) mNativeParallelCompileEnabled(false),
mNeedsFlushBeforeDeleteTextures(false)
{ {
ASSERT(mFunctions); ASSERT(mFunctions);
if (!display->getState().featuresAllDisabled) if (!display->getState().featuresAllDisabled)
...@@ -693,7 +694,7 @@ void RendererGL::flushIfNecessaryBeforeDeleteTextures() ...@@ -693,7 +694,7 @@ void RendererGL::flushIfNecessaryBeforeDeleteTextures()
{ {
if (mNeedsFlushBeforeDeleteTextures) if (mNeedsFlushBeforeDeleteTextures)
{ {
(void) flush(); (void)flush();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment