summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/evas/engines/gl_common/evas_gl_3d.c')
-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}