summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_texture.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:54:26 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:31:36 +0200
commit47b71d898ea522e60ca83567d7b68fbc0b9aaf82 (patch)
tree462c07e3b767c96d23edfc91465d00b5b82a46c8 /src/modules/evas/engines/gl_common/evas_gl_texture.c
parentc7da405ae74dd1229a679f535e703c951bdaaac3 (diff)
Get rid of trailing whitespaces (13 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12012
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))