diff options
Diffstat (limited to 'Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp')
-rw-r--r-- | Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp b/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp index 288f5529a..fa6c8b8d7 100644 --- a/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp +++ b/Source/ThirdParty/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp @@ -43,11 +43,12 @@ namespace { class ArrayBoundsClamperMarker : public TIntermTraverser { public: ArrayBoundsClamperMarker() - : mNeedsClamp(false) + : TIntermTraverser(true, false, false), + mNeedsClamp(false) { } - virtual bool visitBinary(Visit visit, TIntermBinary* node) + bool visitBinary(Visit visit, TIntermBinary *node) override { if (node->getOp() == EOpIndexIndirect) { |