X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fsampler.cpp;h=c36e9852c264418a50ac618a4c84cb4fd184043a;hb=24b24e2203c776aacd9744bb947f5cf47b03d328;hp=45db298064bce9ade85a978f52ed8bebd70d743a;hpb=b09f265880a3a932441091b0f3822b06c112c595;p=libs%2Fgl.git diff --git a/source/core/sampler.cpp b/source/core/sampler.cpp index 45db2980..c36e9852 100644 --- a/source/core/sampler.cpp +++ b/source/core/sampler.cpp @@ -218,7 +218,7 @@ bool is_mipmapped(TextureFilter filter) filter==LINEAR_MIPMAP_NEAREST || filter==LINEAR_MIPMAP_LINEAR); } -GLenum get_gl_filter(TextureFilter filter) +unsigned get_gl_filter(TextureFilter filter) { switch(filter) { @@ -232,7 +232,7 @@ GLenum get_gl_filter(TextureFilter filter) } } -GLenum get_gl_wrap(TextureWrap wrap) +unsigned get_gl_wrap(TextureWrap wrap) { switch(wrap) {