dri2: Hard-code the DRI2 version
[mesa.git] / src / glsl / opt_if_simplification.cpp
index 7e88208f7c141b19dffbc0c23faa7fcecf335c88..e1a23d94a981519fd2abe446591fe8f787e0d42c 100644 (file)
@@ -30,6 +30,8 @@
 
 #include "ir.h"
 
+namespace {
+
 class ir_if_simplification_visitor : public ir_hierarchical_visitor {
 public:
    ir_if_simplification_visitor()
@@ -43,6 +45,8 @@ public:
    bool made_progress;
 };
 
+} /* unnamed namespace */
+
 /* We only care about the top level "if" instructions, so don't
  * descend into expressions.
  */