From: Steinar H. Gunderson Date: Fri, 12 Oct 2012 20:59:38 +0000 (+0200) Subject: Now that we render to an FBO, we can do with a much smaller window for the test. X-Git-Tag: 1.0~292 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=2c8eabbbad9eb99409ef03970cbb0b5b46dda025;ds=inline Now that we render to an FBO, we can do with a much smaller window for the test. --- diff --git a/gtest_sdl_main.cpp b/gtest_sdl_main.cpp index 01eedf2..47d7c67 100644 --- a/gtest_sdl_main.cpp +++ b/gtest_sdl_main.cpp @@ -7,7 +7,7 @@ int main(int argc, char **argv) { SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 0); SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 0); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - SDL_SetVideoMode(1280, 720, 0, SDL_OPENGL); + SDL_SetVideoMode(32, 32, 0, SDL_OPENGL); SDL_WM_SetCaption("OpenGL window for unit test", NULL); testing::InitGoogleTest(&argc, argv);