opengl.shader: Disable logging of shader programs.
This commit is contained in:
@@ -113,6 +113,7 @@ is
|
|||||||
Status'unchecked_Access);
|
Status'unchecked_Access);
|
||||||
if Status = 0
|
if Status = 0
|
||||||
and Debugging
|
and Debugging
|
||||||
|
and False
|
||||||
then
|
then
|
||||||
declare
|
declare
|
||||||
use ada.Text_IO;
|
use ada.Text_IO;
|
||||||
@@ -151,6 +152,7 @@ is
|
|||||||
the_Source : aliased constant C.char_array := to_C_char_array (shader_Snippets);
|
the_Source : aliased constant C.char_array := to_C_char_array (shader_Snippets);
|
||||||
begin
|
begin
|
||||||
if Debugging
|
if Debugging
|
||||||
|
and False
|
||||||
then
|
then
|
||||||
new_Line;
|
new_Line;
|
||||||
put_Line ("Shader snippets:");
|
put_Line ("Shader snippets:");
|
||||||
|
|||||||
Reference in New Issue
Block a user