cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=243df1aaba09a05ef65b8666d0a54c6b8f1cd6a2

commit 243df1aaba09a05ef65b8666d0a54c6b8f1cd6a2
Author: Bogdan Devichev <[email protected]>
Date:   Thu Dec 11 15:06:44 2014 +0200

    evas: the eet loader use eet_mmap that take an Eina_File instead of 
eet_open.
---
 src/modules/evas/model_loaders/eet/evas_model_load_eet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c 
b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
index b393787..815b9f1 100644
--- a/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
+++ b/src/modules/evas/model_loaders/eet/evas_model_load_eet.c
@@ -109,7 +109,7 @@ evas_model_load_file_eet(Evas_3D_Mesh *mesh, Eina_File 
*file)
    Eet_File *ef;
 
    _evas_3d_eet_file_init();
-   ef = eet_open(eina_file_filename_get(file), EET_FILE_MODE_READ);
+   ef = eet_mmap(file);
    eet_file = eet_data_read(ef,
                             _file_descriptor,
                             EVAS_3D_FILE_CACHE_FILE_ENTRY);

-- 


Reply via email to