opcon's picture

Quick question on GL.DeleteTexture

Hey everyone, this is my first post, so bear with me.

I am in the process of learning OpenTK and writing a Texture Resource Cache. This involves deleting textures, however I noticed that the function for deleting textures does not support uint, although the method for binding does.
public static void DeleteTexture(int id);
as opposed to

        public static void BindTexture(TextureTarget target, int texture);
or
        public static void BindTexture(TextureTarget target, uint texture);

Is there any fix for this, or should I just cast the uint?

Opcon.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Thanks for catching this! Fixed in SVN r2712.

opcon's picture

Awesome, thanks.