[quake3-commits] [ioquake/ioq3] 1d016e: Clear window buffer when it's created

Zack Middleton zturtleman at gmail.com
Fri Nov 7 22:54:28 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 1d016e6ff5123c06a40c93adb1a5c4df3f697948
      https://github.com/ioquake/ioq3/commit/1d016e6ff5123c06a40c93adb1a5c4df3f697948
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M code/sdl/sdl_glimp.c

  Log Message:
  -----------
  Clear window buffer when it's created

When starting the game in windowed mode, the window buffer used whatever
was on the screen before running the game. Kind of like you could see
through the window, but it doesn't update what happens behind it.

It makes it look like something is broken or non-responsive.

So clear the window opengl buffer to black.

Credit to theinvsblman for the code.




More information about the quake3-commits mailing list