summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_texture_projection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/lower_texture_projection.cpp')
-rw-r--r--src/glsl/lower_texture_projection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/lower_texture_projection.cpp b/src/glsl/lower_texture_projection.cpp
index 6e3aaecceee..16d63768055 100644
--- a/src/glsl/lower_texture_projection.cpp
+++ b/src/glsl/lower_texture_projection.cpp
@@ -37,6 +37,8 @@
#include "ir.h"
+namespace {
+
class lower_texture_projection_visitor : public ir_hierarchical_visitor {
public:
lower_texture_projection_visitor()
@@ -49,6 +51,8 @@ public:
bool progress;
};
+} /* anonymous namespace */
+
ir_visitor_status
lower_texture_projection_visitor::visit_leave(ir_texture *ir)
{