31
Window / Re: OpenGL Context Flashes on Screen when Created
« on: February 10, 2014, 07:02:39 pm »
Oh amazing! Definitely a big improvement thank you very much.
I still have a bunch of issues/questions, this is what I currently get. When I say OS event what happens is all monitors flash black then return to normal.
When creating a new window:
sf::Style::Fullscreen:
1) Fullscreen window appears with white background*
2) Background changes to black
3) OS event
4) Displays my draw call
sf::Style::Default:
1) Framed window appears with white background*
3) Displays my draw call
*White background stays long enough to see it even if next line is a display call.
sf::Style::None with size < Desktop:
1) Frameless window appears when I make my first draw call
sf::Style::None with size == Desktop:
1) OS event
1) Frameless window appears when I make my first draw call
When I close a sf::Style::None with size == Desktop or a Fullscreen window there are 2 OS events.
When exactly does the OS event occur?
Is it possible to use sf::Style::None with size == Desktop without the OS event, as it behaves when size < the desktop?
Is it possible to use sf::Style::Default without the white background appearing?
I still have a bunch of issues/questions, this is what I currently get. When I say OS event what happens is all monitors flash black then return to normal.
When creating a new window:
sf::Style::Fullscreen:
1) Fullscreen window appears with white background*
2) Background changes to black
3) OS event
4) Displays my draw call
sf::Style::Default:
1) Framed window appears with white background*
3) Displays my draw call
*White background stays long enough to see it even if next line is a display call.
sf::Style::None with size < Desktop:
1) Frameless window appears when I make my first draw call
sf::Style::None with size == Desktop:
1) OS event
1) Frameless window appears when I make my first draw call
When I close a sf::Style::None with size == Desktop or a Fullscreen window there are 2 OS events.
When exactly does the OS event occur?
Is it possible to use sf::Style::None with size == Desktop without the OS event, as it behaves when size < the desktop?
Is it possible to use sf::Style::Default without the white background appearing?