David Rose 19 anni fa
parent
commit
b10815afab

+ 1 - 1
panda/src/gobj/shaderExpansion.I

@@ -101,4 +101,4 @@ operator == (const ShaderCaps &other) const {
   }
 #endif
   return true;
-}
+}

+ 2 - 2
panda/src/gobj/shaderExpansion.cxx

@@ -1137,9 +1137,9 @@ ShaderExpansion(const string &name, const string &text,
                 const ShaderCaps &caps) :
   _name(name),
   _text(text),
-  _parse(0),
   _header(""),
-  _error_flag(true)
+  _error_flag(true),
+  _parse(0)
 {
   string header;
   parse_init();

+ 1 - 1
panda/src/gobj/shaderExpansion.h

@@ -181,7 +181,7 @@ public:
     int _active_fprofile;
     int _ultimate_vprofile;
     int _ultimate_fprofile;
-#endif;
+#endif
     INLINE void clear();
     INLINE bool operator == (const ShaderCaps &other) const;
     INLINE ShaderCaps();