opengl.errors: Add a 'Debugging' function with separate bodies for debugging and not debugging.

This commit is contained in:
Rod Kay
2024-04-24 19:13:34 +10:00
parent e202ce548d
commit 5860ed71fb
5 changed files with 37 additions and 1 deletions

View File

@@ -22,4 +22,9 @@ is
-- Clears any existing error.
-- Sets 'Error_occurred' to true, if a GL error was detected.
function Debugging return Boolean;
--
-- True when the build mode is
end openGL.Errors;