ソースを参照

fixes an issue that only shows up Opt2

Zachary Pavlov 19 年 前
コミット
bb46722b39
1 ファイル変更1 行追加1 行削除
  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();