opengl.geometry.colored: Add extra check for GL errors.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user