Przeglądaj źródła

fixes an issue that only shows up Opt2

Zachary Pavlov 19 lat temu
rodzic
commit
bb46722b39
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      panda/src/pgraph/shaderInput.h

+ 1 - 1
panda/src/pgraph/shaderInput.h

@@ -77,7 +77,7 @@ public:
   static void init_type() {
     ReferenceCount::init_type();
     register_type(_type_handle, "ShaderInput",
-                  ReferenceCount::get_class_type());
+                  TypedWritableReferenceCount::get_class_type());
   }
   virtual TypeHandle get_type() const {
     return get_class_type();