]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/material/Technique.hxx
Add bool and int uniform types for shaders, and vertex-program-two-sided
[simgear.git] / simgear / scene / material / Technique.hxx
index 596d4dd9e8a0f96b3038fe45b76d7c108c545d17..b2ce020f07166d26f0d536fbff6c6f66c352f2f4 100644 (file)
@@ -106,7 +106,8 @@ protected:
         ContextInfo(const ContextInfo& rhs) : valid(rhs.valid()) {}
         ContextInfo& operator=(const ContextInfo& rhs)
         {
-            valid = rhs.valid();
+            valid = rhs.valid;
+            return *this;
         }
         Swappable<Status> valid;
     };