diff --git a/panda/src/grutil/Sources.pp b/panda/src/grutil/Sources.pp index 4e0d21a0b0..c8b14c06d9 100644 --- a/panda/src/grutil/Sources.pp +++ b/panda/src/grutil/Sources.pp @@ -6,7 +6,7 @@ #begin lib_target #define TARGET grutil #define LOCAL_LIBS \ - display text pgraph gobj linmath putil + display text pgraph gobj linmath putil movies #define COMBINED_SOURCES $[TARGET]_composite1.cxx diff --git a/panda/src/grutil/movieTexture.cxx b/panda/src/grutil/movieTexture.cxx index a2879164d3..e246590bff 100644 --- a/panda/src/grutil/movieTexture.cxx +++ b/panda/src/grutil/movieTexture.cxx @@ -23,6 +23,7 @@ #include "clockObject.h" #include "config_gobj.h" #include "config_grutil.h" +#include "bamCacheRecord.h" TypeHandle MovieTexture::_type_handle; diff --git a/panda/src/grutil/movieTexture.h b/panda/src/grutil/movieTexture.h index 153b0d2bf8..5cca51a816 100644 --- a/panda/src/grutil/movieTexture.h +++ b/panda/src/grutil/movieTexture.h @@ -95,7 +95,7 @@ public: return _type_handle; } static void init_type() { - VideoTexture::init_type(); + Texture::init_type(); register_type(_type_handle, "MovieTexture", Texture::get_class_type()); }