diff --git a/Source/OpenTK/OpenGL/GLHelper.cs b/Source/OpenTK/OpenGL/GLHelper.cs index 43361914..067e8592 100644 --- a/Source/OpenTK/OpenGL/GLHelper.cs +++ b/Source/OpenTK/OpenGL/GLHelper.cs @@ -727,7 +727,7 @@ namespace OpenTK.OpenGL unsafe { int length; - GL.GetShader(shader, Version20.InfoLogLength, out length); + GL.GetShader(shader, ShaderParameter.InfoLogLength, out length); if (length == 0) { info = ""; @@ -741,6 +741,22 @@ namespace OpenTK.OpenGL #endregion + #region public static void PointParameter(PointSpriteCoordOriginParameter param) + + /// + /// Helper function that defines the coordinate origin of the Point Sprite. + /// + /// + /// A OpenTK.OpenGL.GL.PointSpriteCoordOriginParameter token, + /// denoting the origin of the Point Sprite. + /// + public static void PointParameter(PointSpriteCoordOriginParameter param) + { + GL.PointParameter(PointParameterName.PointSpriteCoordOrigin, (int)param); + } + + #endregion + #endregion } }