summaryrefslogtreecommitdiff
path: root/gfx/angle/src/libANGLE/VertexArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/src/libANGLE/VertexArray.h')
-rwxr-xr-xgfx/angle/src/libANGLE/VertexArray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/angle/src/libANGLE/VertexArray.h b/gfx/angle/src/libANGLE/VertexArray.h
index 65c62f1ba7..da660e040c 100755
--- a/gfx/angle/src/libANGLE/VertexArray.h
+++ b/gfx/angle/src/libANGLE/VertexArray.h
@@ -87,7 +87,8 @@ class VertexArray final : public LabeledObject
return mState.getVertexAttributes();
}
- rx::VertexArrayImpl *getImplementation() const { return mVertexArray; }
+ rx::VertexArrayImpl *getImplementation() { return mVertexArray; }
+ const rx::VertexArrayImpl *getImplementation() const { return mVertexArray; }
size_t getMaxEnabledAttribute() const { return mState.getMaxEnabledAttribute(); }