Browse Source

scene: minor fix for compilation warnings.

undefined
Sam Hocevar 9 years ago
parent
commit
4472d31612
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/scene.h

+ 2
- 2
src/scene.h View File

@@ -65,8 +65,8 @@ public:
virtual ~SceneDisplay() { }

/* pos/size/... methods */
virtual void SetResolution(ivec2 resolution) { }
virtual void SetPosition(ivec2 position) { }
virtual void SetResolution(ivec2 resolution) { UNUSED(resolution); }
virtual void SetPosition(ivec2 position) { UNUSED(position); }

/* TODO: Should that be there or in Video ? */
static void Add(SceneDisplay* display);


Loading…
Cancel
Save