Poll for openGL errors.

This commit is contained in:
2017-11-23 15:35:41 +01:00
parent f289b2f52b
commit 7d43bff343
3 changed files with 25 additions and 1 deletions

View File

@@ -41,4 +41,9 @@ namespace fmri {
* @param text The text to draw.
*/
void renderText(std::string_view text);
/**
* Check if there are OpenGL errors and report them.
*/
void checkGLErrors();
}