summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorperepelits.m <perepelits.m@samsung.com>2014-12-03 09:42:50 +0100
committerCedric BAIL <cedric@osg.samsung.com>2014-12-03 09:58:02 +0100
commitb1f8f3fb17ec37c4ddb817d766051eb8fe9d72e1 (patch)
tree61674e6c4b06de336c700123f061f8f79f4f9c37
parentef36e0d8877bcc760c7981d3061f551ff05f4e29 (diff)
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>
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_3d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_3d.c b/src/modules/evas/engines/gl_common/evas_gl_3d.c
index 1a70473..7b19939 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_3d.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_3d.c
@@ -10,14 +10,14 @@ e3d_texture_param_update(E3D_Texture *texture)
10 if (texture->wrap_dirty) 10 if (texture->wrap_dirty)
11 { 11 {
12 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_s); 12 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_s);
13 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, texture->wrap_t); 13 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, texture->wrap_t);
14 texture->wrap_dirty = EINA_FALSE; 14 texture->wrap_dirty = EINA_FALSE;
15 } 15 }
16 16
17 if (texture->filter_dirty) 17 if (texture->filter_dirty)
18 { 18 {
19 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_min); 19 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_min);
20 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, texture->filter_mag); 20 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, texture->filter_mag);
21 texture->filter_dirty = EINA_FALSE; 21 texture->filter_dirty = EINA_FALSE;
22 } 22 }
23} 23}