Help me about SDL_WINDOW_BORDERLESS

Im using SDl2.0 + opengl, im creating window on two monitors as each monitor having one window…i used “SDL_WINDOW_BORDERLESS | SDL_WINDOW_OPENGL” flags on SDL_CreateWindow…
when i tried to update the other window using “SDL_GL_SwapWindow” there is lots of flickering on both windows…
but when i removed "SDL_WINDOW_BORDERLESS " now window is with border, but now i tried to update the other window using “SDL_GL_SwapWindow” there is no flickering on both windows.

why this behaviour? i did any thing wrong? please help me

I suspect you’re only seeing a symptom of a problem. What does your render
loop look like? If your vsync is disabled, try enabling it.On Thu, Oct 24, 2013 at 1:04 AM, sf wrote:

**
Im using SDl2.0 + opengl, im creating window on two monitors as each
monitor having one window…i used “SDL_WINDOW_BORDERLESS |
SDL_WINDOW_OPENGL” flags on SDL_CreateWindow…
when i tried to update the other window using “SDL_GL_SwapWindow” there is
lots of flickering on both windows…
but when i removed "SDL_WINDOW_BORDERLESS " now window is with border, but
now i tried to update the other window using “SDL_GL_SwapWindow” there is
no flickering on both windows.

why this behaviour? i did any thing wrong? please help me


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org