devilhorns pushed a commit to branch master.
commit 72347e539ba63bbfd3c5689b7d7b66e99d33e365
Author: Chris Michael <[email protected]>
Date: Mon Jul 8 08:26:08 2013 +0100
Fix copy/paste error in gl_common_context_push. (I beleive that texm
texture was wanted here, not tex texture).
MB: Fixes Coverity 1039670
Signed-off-by: Chris Michael <[email protected]>
---
src/modules/evas/engines/gl_common/evas_gl_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c
b/src/modules/evas/engines/gl_common/evas_gl_context.c
index 1bdfac3..777397a 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -1268,7 +1268,7 @@ _evas_gl_common_context_push(int rtype,
if (tex)
current_tex = tex->ptt ? tex->ptt->texture : tex->pt->texture;
if (texm)
- current_texm = texm->ptt ? texm->ptt->texture : tex->pt->texture;
+ current_texm = texm->ptt ? texm->ptt->texture : texm->pt->texture;
#ifdef GLPIPES
again:
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev