summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_shader.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_shader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_shader.c b/src/modules/evas/engines/gl_common/evas_gl_shader.c
index 2b7fa42681..6156503bfd 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_shader.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_shader.c
@@ -243,7 +243,7 @@ _evas_gl_common_shader_binary_save(Evas_GL_Shared *shared)
243 char bin_dir_path[PATH_MAX]; 243 char bin_dir_path[PATH_MAX];
244 char bin_file_path[PATH_MAX]; 244 char bin_file_path[PATH_MAX];
245 char tmp_file_name[PATH_MAX]; 245 char tmp_file_name[PATH_MAX];
246 int tmpfd = -1, res = 0, copy; 246 int tmpfd = -1, copy;
247 Eina_Tmpstr *tmp_file_path = NULL; 247 Eina_Tmpstr *tmp_file_path = NULL;
248 Eet_File *ef = NULL; 248 Eet_File *ef = NULL;
249 Evas_GL_Program *p; 249 Evas_GL_Program *p;
@@ -255,8 +255,8 @@ _evas_gl_common_shader_binary_save(Evas_GL_Shared *shared)
255 255
256 if (!evas_gl_common_file_cache_dir_check(bin_dir_path, sizeof(bin_dir_path))) 256 if (!evas_gl_common_file_cache_dir_check(bin_dir_path, sizeof(bin_dir_path)))
257 { 257 {
258 res = evas_gl_common_file_cache_mkpath(bin_dir_path); 258 if (!evas_gl_common_file_cache_mkpath(bin_dir_path))
259 if (!res) return 0; /* we can't make directory */ 259 return 0; /* we can't make directory */
260 } 260 }
261 261
262 copy = evas_gl_common_file_cache_file_check(bin_dir_path, "binary_shader", bin_file_path, 262 copy = evas_gl_common_file_cache_file_check(bin_dir_path, "binary_shader", bin_file_path,