]> git.sesse.net Git - movit/blobdiff - gtest_sdl_main.cpp
Now that we render to an FBO, we can do with a much smaller window for the test.
[movit] / gtest_sdl_main.cpp
index 01eedf2a09bf5e326d931821eeb65d2f7a716589..47d7c679107c093cdda8530ef4d9ce42cee6a71a 100644 (file)
@@ -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);