Browse Source

fix compilation errors

David Rose 18 years ago
parent
commit
58834b377a

+ 1 - 1
panda/src/grutil/Sources.pp

@@ -6,7 +6,7 @@
 #begin lib_target
 #begin lib_target
   #define TARGET grutil
   #define TARGET grutil
   #define LOCAL_LIBS \
   #define LOCAL_LIBS \
-    display text pgraph gobj linmath putil
+    display text pgraph gobj linmath putil movies
     
     
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx 
 
 

+ 1 - 0
panda/src/grutil/movieTexture.cxx

@@ -23,6 +23,7 @@
 #include "clockObject.h"
 #include "clockObject.h"
 #include "config_gobj.h"
 #include "config_gobj.h"
 #include "config_grutil.h"
 #include "config_grutil.h"
+#include "bamCacheRecord.h"
 
 
 TypeHandle MovieTexture::_type_handle;
 TypeHandle MovieTexture::_type_handle;
 
 

+ 1 - 1
panda/src/grutil/movieTexture.h

@@ -95,7 +95,7 @@ public:
     return _type_handle;
     return _type_handle;
   }
   }
   static void init_type() {
   static void init_type() {
-    VideoTexture::init_type();
+    Texture::init_type();
     register_type(_type_handle, "MovieTexture",
     register_type(_type_handle, "MovieTexture",
                   Texture::get_class_type());
                   Texture::get_class_type());
   }
   }