summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_texture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c
index 2c1d1e28cf..1aa9d3ccb0 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_texture.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c
@@ -337,7 +337,7 @@ _tex_2d(Evas_Engine_GL_Context *gc, int intfmt, int w, int h, int fmt, int type)
337#ifdef GL_TEXTURE_INTERNAL_FORMAT 337#ifdef GL_TEXTURE_INTERNAL_FORMAT
338# ifdef GL_GLES 338# ifdef GL_GLES
339# else 339# else
340// this is not in opengles!!! hrrrm 340// this is not in opengles!!! hrrrm
341// if (glGetTexLevelParameteriv) // in case of weak symbols? 341// if (glGetTexLevelParameteriv) // in case of weak symbols?
342 { 342 {
343 int intfmtret = -1; 343 int intfmtret = -1;
@@ -1605,7 +1605,7 @@ evas_gl_common_texture_free(Evas_GL_Texture *tex, Eina_Bool force)
1605 tex->ptv2 = NULL; 1605 tex->ptv2 = NULL;
1606 tex->ptuv = NULL; 1606 tex->ptuv = NULL;
1607 1607
1608 if (tex->im) 1608 if (tex->im)
1609 { 1609 {
1610 tex->im->tex = NULL; 1610 tex->im->tex = NULL;
1611 if (tex->im->im) tex->im->im->cache_entry.flags.textured = 0; 1611 if (tex->im->im) tex->im->im->cache_entry.flags.textured = 0;
@@ -1974,7 +1974,7 @@ evas_gl_common_texture_yuv_update(Evas_GL_Texture *tex, DATA8 **rows, unsigned i
1974 else if (rows[0] && rows[h]) 1974 else if (rows[0] && rows[h])
1975 { 1975 {
1976 unsigned int y; 1976 unsigned int y;
1977 1977
1978 glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 1978 glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
1979 glBindTexture(GL_TEXTURE_2D, tex->pt->texture); 1979 glBindTexture(GL_TEXTURE_2D, tex->pt->texture);
1980 if (!_tex_2d(tex->gc, tex->pt->intformat, w, h, tex->pt->format, tex->pt->dataformat)) 1980 if (!_tex_2d(tex->gc, tex->pt->intformat, w, h, tex->pt->format, tex->pt->dataformat))