summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager.h
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-04-27 00:53:36 +0900
committerEnne Walker <enne.walker@gmail.com>2010-05-01 10:04:53 -0400
commita5163abad931b272103febbae202fd602818732c (patch)
tree1849ca3edada32139adf0a911362a5e1545f34ae /crawl-ref/source/windowmanager.h
parent1ebe1d600db89dbeaf74b03317a8676a4c6c9338 (diff)
downloadcrawl-ref-a5163abad931b272103febbae202fd602818732c.tar.gz
crawl-ref-a5163abad931b272103febbae202fd602818732c.zip
Created a static WindowManager::shutdown() fxn
tilesdl.cc now calls this after GLStateManager::shutdown() so that it is not responsible for managing the wm pointer. Signed-off-by: Enne Walker <enne.walker@gmail.com>
Diffstat (limited to 'crawl-ref/source/windowmanager.h')
-rw-r--r--crawl-ref/source/windowmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/windowmanager.h b/crawl-ref/source/windowmanager.h
index 1dd2f051ee..f7e1de5684 100644
--- a/crawl-ref/source/windowmanager.h
+++ b/crawl-ref/source/windowmanager.h
@@ -103,10 +103,10 @@ public:
// Note: Write this function in each implementation-specific file,
// e.g. windowmanager-sdl.cc has its own WindowManager::create().
static void create();
+ static void shutdown();
// Class functions
virtual int init(coord_def *m_windowsz) = 0;
- virtual void shutdown() = 0;
// Environment state functions
virtual void set_window_title(const char *title) = 0;