X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture.cpp;h=33a7b21ba8b429c63311cffdb4635f947e0f3201;hb=8e553af57b712051f47293c971671f4f6a939be2;hp=877e4d10c38f6ab60d64fd7166e4e56d5d1f2674;hpb=8653af6d620206c1a8bab284721256e9ea4e3b74;p=libs%2Fgl.git diff --git a/source/core/texture.cpp b/source/core/texture.cpp index 877e4d10..33a7b21b 100644 --- a/source/core/texture.cpp +++ b/source/core/texture.cpp @@ -5,7 +5,6 @@ #include #include "error.h" #include "resourcemanager.h" -#include "resources.h" #include "texture.h" using namespace std; @@ -125,7 +124,7 @@ void Texture::apply_swizzle() } } -void Texture::set_parameter_i(GLenum param, int value) const +void Texture::set_parameter_i(unsigned param, int value) const { if(ARB_direct_state_access) glTextureParameteri(id, param, value);