aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/OpenGL/Shader.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-12-27 11:46:55 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-12-27 11:46:55 +0100
commit45a7a8a40da1231f00c2fcd15b370dabe71e3f8e (patch)
tree2e28725e931c60a937c6d386cde6ab5dd33890d7 /Tests/OpenGL/Shader.cs
parentab207070b2755d07f89106611cf34da34970e529 (diff)
replace Debug.WriteLine with consoleMonoEmbed
Diffstat (limited to 'Tests/OpenGL/Shader.cs')
-rw-r--r--Tests/OpenGL/Shader.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/OpenGL/Shader.cs b/Tests/OpenGL/Shader.cs
index 6ae99b89..02ea82f6 100644
--- a/Tests/OpenGL/Shader.cs
+++ b/Tests/OpenGL/Shader.cs
@@ -209,8 +209,8 @@ namespace Crow
GL.GetProgramInfoLog(pgmId, out info);
if (!string.IsNullOrEmpty (info)) {
- Debug.WriteLine ("Linkage:");
- Debug.WriteLine (info);
+ Console.WriteLine ("Linkage:");
+ Console.WriteLine (info);
}
info = null;
@@ -218,8 +218,8 @@ namespace Crow
GL.ValidateProgram(pgmId);
GL.GetProgramInfoLog(pgmId, out info);
if (!string.IsNullOrEmpty (info)) {
- Debug.WriteLine ("Validation:");
- Debug.WriteLine (info);
+ Console.WriteLine ("Validation:");
+ Console.WriteLine (info);
}
GL.UseProgram (pgmId);
@@ -302,14 +302,14 @@ namespace Crow
string info;
GL.GetShaderInfoLog(shader, out info);
- Debug.WriteLine(info);
+ Console.WriteLine(info);
int compileResult;
GL.GetShader(shader, ShaderParameter.CompileStatus, out compileResult);
if (compileResult != 1)
{
- Debug.WriteLine("Compile Error!");
- Debug.WriteLine(source);
+ Console.WriteLine("Compile Error!");
+ Console.WriteLine(source);
}
}
public override string ToString ()