diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-02-23 12:24:59 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-02-23 12:24:59 +0300 |
commit | 53a9dec2bfecc8a2c863d850bcec05aafb008bac (patch) | |
tree | 596a72ec6f75cfdc7b7bbca29222bafb025bd1e9 /source/blender/gpu | |
parent | 3b3ed19c187242cde0d0aa9d932176dc8dded30c (diff) |
Silence "defined but not used" warnings
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 1fb1e239310..fa8e05b6bfb 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -220,7 +220,7 @@ void GPU_render_text( /* Checking powers of two for images since OpenGL ES requires it */ -static bool is_power_of_2_resolution(int w, int h) +static bool UNUSED_FUNCTION(is_power_of_2_resolution)(int w, int h) { return is_power_of_2_i(w) && is_power_of_2_i(h); } |