texture border not supported on mobile
This commit is contained in:
@@ -136,7 +136,7 @@ void Sampler::set_filter(GLint filter_min, GLint filter_mag)
|
||||
}
|
||||
void Sampler::set_border(glm::vec4 rgba)
|
||||
{
|
||||
#if USE_SAMPLER
|
||||
#if USE_SAMPLER && !defined(__IOS__) && !defined(__ANDROID__)
|
||||
glSamplerParameterfv(id, GL_TEXTURE_BORDER_COLOR, glm::value_ptr(rgba));
|
||||
#endif // USE_SAMPLER
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user