Skip to content

Commit

Permalink
examples (simple): Fix use of SDL_GL_DOUBLEBUFFER and SDL_SetVideoMod…
Browse files Browse the repository at this point in the history
…e flags
  • Loading branch information
hartwork committed Jan 8, 2023
1 parent e2cfcd3 commit 4dbf31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvisual/examples/simple/simple_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ LV::VideoPtr SimpleExample::create_display (int width, int height, VisVideoDepth
m_sdl_screen = nullptr;

if (depth == VISUAL_VIDEO_DEPTH_GL) {
int flags = SDL_OPENGL | SDL_GL_DOUBLEBUFFER | SDL_RESIZABLE;
int flags = SDL_OPENGL | SDL_RESIZABLE;

SDL_GL_SetAttribute (SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute (SDL_GL_GREEN_SIZE, 8);
Expand Down

0 comments on commit 4dbf31f

Please sign in to comment.