summaryrefslogtreecommitdiffstats
path: root/GLDriver.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2010-02-23 15:05:31 +0100
committerMatthias Schiffer <matthias@gamezock.de>2010-02-23 15:05:31 +0100
commit9772130708a4ed069ad00ee1652ba6d0eea81766 (patch)
tree7cf2088a56284444efbee69bedd14db7dd11fb90 /GLDriver.hs
parentf10352a0f1626ce1475acb9c27067e52e90a20fb (diff)
downloadhtanks-9772130708a4ed069ad00ee1652ba6d0eea81766.tar
htanks-9772130708a4ed069ad00ee1652ba6d0eea81766.zip
Added buffer swap and some other things to the GLX backend and main loop
Diffstat (limited to 'GLDriver.hs')
-rw-r--r--GLDriver.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/GLDriver.hs b/GLDriver.hs
index 74c02e2..bc55720 100644
--- a/GLDriver.hs
+++ b/GLDriver.hs
@@ -16,6 +16,8 @@ class Driver a where
initGL :: a -> IO a
deinitGL :: a -> IO ()
+ swapBuffers :: a -> IO ()
+
nextEvent :: a -> IO (Maybe SomeEvent)