Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-02-23 12:24:59 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-02-23 12:24:59 +0300
commit53a9dec2bfecc8a2c863d850bcec05aafb008bac (patch)
tree596a72ec6f75cfdc7b7bbca29222bafb025bd1e9 /source/blender/gpu
parent3b3ed19c187242cde0d0aa9d932176dc8dded30c (diff)
Silence "defined but not used" warnings
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
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);
}