forked from enlightenment/efl
evas: Evas_3D - fix typo.
Summary: A little fix of copy-paste, there were problems while changing texture coordinates of indices. @fix Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1725 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
ef36e0d887
commit
b1f8f3fb17
|
@ -10,14 +10,14 @@ e3d_texture_param_update(E3D_Texture *texture)
|
||||||
if (texture->wrap_dirty)
|
if (texture->wrap_dirty)
|
||||||
{
|
{
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_s);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_s);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_t);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, texture->wrap_t);
|
||||||
texture->wrap_dirty = EINA_FALSE;
|
texture->wrap_dirty = EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (texture->filter_dirty)
|
if (texture->filter_dirty)
|
||||||
{
|
{
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_min);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_min);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_mag);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, texture->filter_mag);
|
||||||
texture->filter_dirty = EINA_FALSE;
|
texture->filter_dirty = EINA_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue