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