Browse Source

part of alt-tab handling dx checkin

cxgeorge 25 years ago
parent
commit
5fe8e52b43
2 changed files with 3 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsStateGuardian.h
  2. 2 0
      panda/src/display/graphicsWindow.h

+ 1 - 1
panda/src/display/graphicsStateGuardian.h

@@ -155,7 +155,7 @@ protected:
 
   CoordinateSystem _coordinate_system;
 
-private:
+protected:
   typedef set<TextureContext *> Textures;
   Textures _prepared_textures;
 

+ 2 - 0
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;