Results 1 to 2 of 2

Thread: Flashes white

  1. #1

    Flashes white

    I can make full screen application with SDL2 that appears black from the get go, but any window created with SDL seems to have to be white to begin with. I try to create it hidden and to set render color to black and clear the screen before showing the window but seems I cannot do any render operations on a hidden window. Therefore if I immediately paint the screen black it still flashes white first.

    Is there a way to make it appear any other color than white when first appearing on screen?

  2. #2
    I solved it by making the window not hidden but size 0,0 and then paint it, and then resizing it. Seems to work.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts