diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-02-23 15:05:31 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-02-23 15:05:31 +0100 |
commit | 9772130708a4ed069ad00ee1652ba6d0eea81766 (patch) | |
tree | 7cf2088a56284444efbee69bedd14db7dd11fb90 /GLDriver.hs | |
parent | f10352a0f1626ce1475acb9c27067e52e90a20fb (diff) | |
download | htanks-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.hs | 2 |
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) |