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:
authorCampbell Barton <ideasman42@gmail.com>2015-11-26 04:23:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-26 04:38:31 +0300
commitcd8a84c869418f2b695c2662aa63d70bb4157856 (patch)
tree8313c6c4df57fd4daff3063c1ab7cd0d29516f0d /source/blender/gpu/intern/gpu_buffers.c
parentd7708d135ebff7539b034df16158638b2e11e1c0 (diff)
Cleanup: warnings
Diffstat (limited to 'source/blender/gpu/intern/gpu_buffers.c')
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index ed5107fa68c..a55b7f76bb3 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -1015,14 +1015,14 @@ struct GPU_PBVH_Buffers {
float diffuse_color[4];
};
-static void gpu_colors_enable()
+static void gpu_colors_enable(void)
{
glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE);
glEnable(GL_COLOR_MATERIAL);
glEnableClientState(GL_COLOR_ARRAY);
}
-static void gpu_colors_disable()
+static void gpu_colors_disable(void)
{
glDisable(GL_COLOR_MATERIAL);
glDisableClientState(GL_COLOR_ARRAY);