aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/lower_texture_projection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/lower_texture_projection.cpp')
-rw-r--r--mesalib/src/glsl/lower_texture_projection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/glsl/lower_texture_projection.cpp b/mesalib/src/glsl/lower_texture_projection.cpp
index 6e3aaecce..16d637680 100644
--- a/mesalib/src/glsl/lower_texture_projection.cpp
+++ b/mesalib/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)
{