Furthen64 / hurkalumo

HurkaLumo is a game that will resemble OpenTTD but it'll be more story driven, helping out communities, managing the railroad aaand have day and night aaand
GNU General Public License v3.0
5 stars 0 forks source link

Do a glGetError after every draw in regressiontest mode #32

Open Furthen64 opened 6 years ago

Furthen64 commented 6 years ago

Implement good practice:

"A highly recommended practice when writing OpenGL code is to always check if any OpenGL errors were produced after every OpenGL function call. This is done via the glGetError() function. Checking for errors after every function call will help to narrow down where a possible error might have occurred and improve debugging efficiency significantly."

from https://www.sfml-dev.org/tutorials/2.5/window-opengl.php