From 6fdeed32a09b90f9708bea365237cbd563e08cad Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Thu, 4 May 2017 09:40:38 +0200 Subject: [PATCH] shader version 300 => 300 es --- Tests/OpenGL/Shader.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Tests/OpenGL/Shader.cs b/Tests/OpenGL/Shader.cs index 6ae99b89..e77230d8 100644 --- a/Tests/OpenGL/Shader.cs +++ b/Tests/OpenGL/Shader.cs @@ -51,7 +51,7 @@ namespace Crow GeomSourcePath; #region Sources protected string _vertSource = @" - #version 330 + #version 300 es precision lowp float; uniform mat4 mvp; @@ -68,7 +68,7 @@ namespace Crow }"; protected string _fragSource = @" - #version 330 + #version 300 es precision lowp float; uniform sampler2D tex; @@ -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 () -- 2.47.3