From 19a32074595a4a2797eaeb978f8bd302f736f6a6 Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 19 Jan 2017 09:14:12 -0500 Subject: Limb animation actually works --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index a9ccac8..f04581a 100644 --- a/main.cpp +++ b/main.cpp @@ -106,9 +106,9 @@ int main(int argc, char *argv[]) // some basic OpenGL setup stuff // - SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); + SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 0); // enable v-sync (TODO but 1000 fps?) - SDL_GL_SetSwapInterval(1); + SDL_GL_SetSwapInterval(0); // hide the cursor SDL_ShowCursor(SDL_DISABLE); // switch to pixel grid -- cgit v1.2.3