Browse Source

fixes an issue that only shows up Opt2

Zachary Pavlov 19 years ago
parent
commit
bb46722b39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/shaderInput.h

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

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