Commit b5abec33 by Jamie Madill Committed by Commit Bot

D3D11: Remove unused field in InputLayoutCache.

The mCounter field became exposed as unused after it was initialied in the constructor initializer list. Previously this was hidden because it was initialized in the body of the constructor. BUG=angleproject:1327 Change-Id: I18d9aa8a377d234f4c161ace845edfb9fc7f226c Reviewed-on: https://chromium-review.googlesource.com/331385Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 7828c521
...@@ -162,7 +162,6 @@ InputLayoutCache::InputLayoutCache() ...@@ -162,7 +162,6 @@ InputLayoutCache::InputLayoutCache()
mPointSpriteVertexBuffer(nullptr), mPointSpriteVertexBuffer(nullptr),
mPointSpriteIndexBuffer(nullptr), mPointSpriteIndexBuffer(nullptr),
mCacheSize(kDefaultCacheSize), mCacheSize(kDefaultCacheSize),
mCounter(0),
mDevice(nullptr), mDevice(nullptr),
mDeviceContext(nullptr) mDeviceContext(nullptr)
{ {
......
...@@ -106,7 +106,6 @@ class InputLayoutCache : angle::NonCopyable ...@@ -106,7 +106,6 @@ class InputLayoutCache : angle::NonCopyable
ID3D11Buffer *mPointSpriteIndexBuffer; ID3D11Buffer *mPointSpriteIndexBuffer;
unsigned int mCacheSize; unsigned int mCacheSize;
unsigned long long mCounter;
ID3D11Device *mDevice; ID3D11Device *mDevice;
ID3D11DeviceContext *mDeviceContext; ID3D11DeviceContext *mDeviceContext;
......
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