Verified Commit 72b51bea authored by Timothy Nikkel's avatar Timothy Nikkel Committed by ma1
Browse files

Bug 2036518. r=gfx-reviewers,lsalzman a=pascalc

parent 77df5ce6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -575,7 +575,10 @@ class StateManager11 final : angle::NonCopyable
        size_t size() const { return mCurrentViews.size(); }
        size_t highestUsed() const { return mHighestUsedView; }

        const ViewRecord<DescType> &operator[](size_t index) const { return mCurrentViews[index]; }
        const ViewRecord<DescType> &operator[](size_t index) const {
          if (index >= size()) { FATAL(); }
          return mCurrentViews[index];
        }
        void clear();
        void update(size_t resourceIndex, ViewType *view);