Change enum in GL.TexParameter from All to more specific type.

This commit is contained in:
the_fiddler 2007-11-10 23:30:14 +00:00
parent 7bbab20112
commit db06500dd2

View file

@ -57,8 +57,8 @@ namespace Examples.Tutorial
bitmap.UnlockBits(data); bitmap.UnlockBits(data);
GL.TexParameter(TextureTarget.Texture2d, TextureParameterName.TextureMinFilter, (int)All.Linear); GL.TexParameter(TextureTarget.Texture2d, TextureParameterName.TextureMinFilter, (int)TextureMinFilter.Linear);
GL.TexParameter(TextureTarget.Texture2d, TextureParameterName.TextureMagFilter, (int)All.Linear); GL.TexParameter(TextureTarget.Texture2d, TextureParameterName.TextureMagFilter, (int)TextureMagFilter.Linear);
} }
#endregion #endregion