opengl.geometry.colored: Add extra check for GL errors.

This commit is contained in:
Rod Kay
2025-03-20 21:57:34 +11:00
parent 0561d4f687
commit 082693f3e8

View File

@@ -47,6 +47,7 @@ is
Self : constant Geometry.colored.view := new Geometry.colored.item; Self : constant Geometry.colored.view := new Geometry.colored.item;
begin begin
Tasks.check; Tasks.check;
Errors.log;
if the_Program = null if the_Program = null
then -- Define the shaders and program. then -- Define the shaders and program.