From 424526a7c867ee89795c48dbf717feb88e1269a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 10 Apr 2014 18:52:23 +0200 Subject: [PATCH] Integer texture borders are not available in OpenGL ES. --- src/Magnum/AbstractTexture.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/AbstractTexture.h b/src/Magnum/AbstractTexture.h index 0054b1294..18feb72f5 100644 --- a/src/Magnum/AbstractTexture.h +++ b/src/Magnum/AbstractTexture.h @@ -293,8 +293,10 @@ class MAGNUM_EXPORT AbstractTexture: public AbstractObject { void setLodBias(Float bias); #endif void setBorderColor(const Color4& color); + #ifndef MAGNUM_TARGET_GLES void setBorderColor(const Vector4i& color); void setBorderColor(const Vector4ui& color); + #endif void setMaxAnisotropy(Float anisotropy); void invalidateImage(Int level); void generateMipmap();