diff --git a/Source/OpenTK/Graphics/GL/GLHelper.cs b/Source/OpenTK/Graphics/GL/GLHelper.cs index 15e6afde..3ddb68bd 100644 --- a/Source/OpenTK/Graphics/GL/GLHelper.cs +++ b/Source/OpenTK/Graphics/GL/GLHelper.cs @@ -943,6 +943,26 @@ namespace OpenTK.Graphics #endregion + #region public static int GenTexture() + + public static int GenTexture() + { + int id; + GenTextures(1, out id); + return id; + } + + #endregion + + #region public static void DeleteTexture(int id) + + public static void DeleteTexture(int id) + { + DeleteTextures(1, ref id); + } + + #endregion + #endregion } }