evas: behave nicely with unitialized data.

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.
This commit is contained in:
Cedric Bail 2014-05-04 00:16:35 +02:00
parent ede36d8382
commit 202b3ad6ba
1 changed files with 1 additions and 1 deletions

View File

@ -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);