diff options
author | Cedric BAIL <c.bail@partner.samsung.com> | 2014-06-27 12:30:28 +0200 |
---|---|---|
committer | Cedric BAIL <c.bail@partner.samsung.com> | 2014-06-27 13:45:42 +0200 |
commit | 40875064df5ce0e4346e4370c2cf36a78e94764e (patch) | |
tree | db777ac904f290c6b16ec27efae2beaae80d7c4f | |
parent | dcf9cf6a7b1fa8f9e3643ed56037a5b1122dd1d6 (diff) | |
download | efl-40875064df5ce0e4346e4370c2cf36a78e94764e.tar.gz |
evas: fix warning in DDraw backend.
-rw-r--r-- | src/modules/evas/engines/software_ddraw/evas_outbuf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/evas/engines/software_ddraw/evas_outbuf.c b/src/modules/evas/engines/software_ddraw/evas_outbuf.c index 8600e0a1d1..0e121ac981 100644 --- a/src/modules/evas/engines/software_ddraw/evas_outbuf.c +++ b/src/modules/evas/engines/software_ddraw/evas_outbuf.c @@ -4,8 +4,9 @@ static Eina_List *ddpool = NULL; static int ddsize = 0; -static int ddmemlimit = 10 * 1024 * 1024; -static int ddcountlimit = 32; + +#define ddmemlimit 10 * 1024 * 1024 +#define ddcountlimit 32 static DD_Output_Buffer * _find_ddob(int depth, int w, int h, void *data) @@ -69,7 +70,7 @@ _unfind_ddob(DD_Output_Buffer *ddob) } static void -_clear_ddob(int sync) +_clear_ddob(int sync EINA_UNUSED) { while (ddpool) { @@ -348,8 +349,8 @@ evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf, } void -evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf, - RGBA_Image *update) +evas_software_ddraw_outbuf_free_region_for_update(Outbuf *buf EINA_UNUSED, + RGBA_Image *update EINA_UNUSED) { /* no need to do anything - they are cleaned up on flush */ } |