From 9772130708a4ed069ad00ee1652ba6d0eea81766 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 23 Feb 2010 15:05:31 +0100 Subject: Added buffer swap and some other things to the GLX backend and main loop --- GLDriver.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GLDriver.hs') 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) -- cgit v1.2.3