From ac46c9fc4138fe53200e14b10cf9c4f06aacf710 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 5 Jun 2011 21:00:10 -0400 Subject: [PATCH] fixes for some gl functions in window --- photon/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photon/video.py b/photon/video.py index 672dc7b..77c5369 100644 --- a/photon/video.py +++ b/photon/video.py @@ -155,10 +155,10 @@ class Window(object): self._glcontext = _SDL.SDL_GL_CreateContext(self._handle) return self._glcontext - def swap(): + def swap(self): _SDL.SDL_GL_SwapWindow(self._handle) - def make_context_current(): + def make_context_current(self): errcheck(_SDL.SDL_GL_MakeCurrent(self._handle, self._glcontext)) @property