diff --git a/panda/src/display/graphicsStateGuardian.h b/panda/src/display/graphicsStateGuardian.h index d6e8dc8054..7e008d5450 100644 --- a/panda/src/display/graphicsStateGuardian.h +++ b/panda/src/display/graphicsStateGuardian.h @@ -155,7 +155,7 @@ protected: CoordinateSystem _coordinate_system; -private: +protected: typedef set Textures; Textures _prepared_textures; diff --git a/panda/src/display/graphicsWindow.h b/panda/src/display/graphicsWindow.h index b6b225fe4e..99451e6de7 100644 --- a/panda/src/display/graphicsWindow.h +++ b/panda/src/display/graphicsWindow.h @@ -133,6 +133,8 @@ PUBLISHED: INLINE bool has_pointer(int device) const; INLINE bool has_keyboard(int device) const; + virtual void process_events(void) { return; }; // process window events + public: INLINE const MouseData &get_mouse_data(int device) const; INLINE bool has_button_event(int device) const;