projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede36d8
)
evas: behave nicely with unitialized data.
author
Cedric Bail
<cedric.bail@free.fr>
Sat, 3 May 2014 22:16:35 +0000
(
00:16
+0200)
committer
Cedric Bail
<cedric.bail@free.fr>
Sat, 3 May 2014 22:16:35 +0000
(
00:16
+0200)
CID
1210818
It would be a better and more working fix to use Evas_GL_Image, sadly
no time to do it right now and may be to intrusive for an alpha release.
src/modules/evas/engines/gl_common/evas_gl_3d.c
patch
|
blob
|
history
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 9fa97375b0da33cd9cfa6bf759e81b9e4aafacba..bd4d53b1d02a2b4593e693f45c5233f35cce8571 100644
(file)
--- a/
src/modules/evas/engines/gl_common/evas_gl_3d.c
+++ b/
src/modules/evas/engines/gl_common/evas_gl_3d.c
@@
-171,7
+171,7
@@
e3d_texture_file_set(E3D_Texture *texture, const char *file, const char *key)
color_format = EVAS_3D_COLOR_FORMAT_RGBA;
break;
default:
-
break
;
+
return
;
}
e3d_texture_data_set(texture, color_format, pixel_format, im->cache_entry.w,
im->cache_entry.h, im->image.data);