Commit d14e3c45 by Jamie Madill Committed by Commit Bot

Initialize TextureState::usage.

This was probably omittted some time ago, and was showing up as garbage in the debugger in some cases. BUG=angleproject:1260 Change-Id: Ifca5243d0c94e7659a2245e327a72eed9dd918ab Reviewed-on: https://chromium-review.googlesource.com/327401Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 89f2845c
...@@ -62,7 +62,8 @@ TextureState::TextureState() ...@@ -62,7 +62,8 @@ TextureState::TextureState()
baseLevel(0), baseLevel(0),
maxLevel(1000), maxLevel(1000),
immutableFormat(false), immutableFormat(false),
immutableLevels(0) immutableLevels(0),
usage(GL_NONE)
{ {
} }
......
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