Lost-Empire-Entertainment / Elypso-engine

C++ OpenGL game development engine for Windows.
https://elypsoengine.com
Other
14 stars 3 forks source link

added debug callback #56

Closed tkpmonke closed 2 months ago

tkpmonke commented 2 months ago

added opengl debug callback. whenever an error is detected by opengl, the console will get spammed with errors. i would recommend putting the printing of it behind a #ifdef DEBUG or something similar, or even a toggle in the editor

tkpmonke commented 2 months ago

also theres a check to make sure that it only runs if your using opengl 4.3 or above, the minimum version for the callback function

tkpmonke commented 2 months ago

also added more debug info in the debug menu, no clue how it looks cause i can't compile :smile:

greeenlaser commented 2 months ago

nuh uh