Merge: gamnit: fix color buffer clearing issues on some computers
authorJean Privat <jean@pryen.org>
Fri, 9 Jun 2017 14:55:14 +0000 (10:55 -0400)
committerJean Privat <jean@pryen.org>
Fri, 9 Jun 2017 14:55:14 +0000 (10:55 -0400)
commite355842e15a3961239312dd04001d6059b6321a6
treed25646ac5e25be3725d16dc7e584120bdd6fe6f1
parentf27c228f0097cb7a76c3b79edbb47e16d98bca24
parent0d63c22681f9077bcbb7d83dfd861115d2a33c26
Merge: gamnit: fix color buffer clearing issues on some computers

This PR clear the drawing buffers *after* selecting the target framebuffer, even when the buffer does not change. This should fix the issue @BlackMinou was having (the color buffer not being cleared) when running Tinks! 3D or https://gitlab.com/xymus/jumpngun.

However, this does not fix a similar issue on my desktop computer and I think an issue remained with the depth buffer on @BlackMinou computer.

Pull-Request: #2480
lib/gamnit/dynamic_resolution.nit
lib/gamnit/flat.nit