diff --git a/doc/articles/controls/GLCanvasElement.md b/doc/articles/controls/GLCanvasElement.md index 403107cfea2a..18bc78a96ccc 100644 --- a/doc/articles/controls/GLCanvasElement.md +++ b/doc/articles/controls/GLCanvasElement.md @@ -120,7 +120,7 @@ public class SimpleTriangleGlCanvasElement() var vertexCode = $$""" {{versionDef}} - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility layout (location = 0) in vec3 aPosition; out vec4 vertexColor; @@ -135,7 +135,7 @@ public class SimpleTriangleGlCanvasElement() var fragmentCode = $$""" {{versionDef}} - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility out vec4 out_color; in vec4 vertexColor; diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Composition/RotatingCubeGlCanvasElement.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Composition/RotatingCubeGlCanvasElement.cs index 1a1bea6feca5..07b1e327a772 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Composition/RotatingCubeGlCanvasElement.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Composition/RotatingCubeGlCanvasElement.cs @@ -69,7 +69,7 @@ public class RotatingCubeGlCanvasElement() : GLCanvasElement(1200, 800, null) private readonly string _vertexShaderSource = """ - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility layout(location = 0) in vec3 pos; layout(location = 1) in vec3 vertex_color; @@ -86,7 +86,7 @@ void main() { private readonly string FragmentShaderSource = """ - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility in vec3 color; diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Composition/SimpleTriangleGlCanvasElement.cs b/src/SamplesApp/UITests.Shared/Windows_UI_Composition/SimpleTriangleGlCanvasElement.cs index 50ef09912fcf..ec43239acfac 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Composition/SimpleTriangleGlCanvasElement.cs +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Composition/SimpleTriangleGlCanvasElement.cs @@ -44,7 +44,7 @@ unsafe protected override void Init(GL gl) var vertexCode = $$""" {{versionDef}} - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility layout (location = 0) in vec3 aPosition; out vec4 vertexColor; @@ -59,7 +59,7 @@ void main() var fragmentCode = $$""" {{versionDef}} - precision highp float; # for OpenGL ES compatibility + precision highp float; // for OpenGL ES compatibility out vec4 out_color; in vec4 vertexColor;