[Bf-blender-cvs] [cd8a84c] master: Cleanup: warnings

Campbell Barton noreply at git.blender.org
Thu Nov 26 02:45:39 CET 2015


Commit: cd8a84c869418f2b695c2662aa63d70bb4157856
Author: Campbell Barton
Date:   Thu Nov 26 12:23:49 2015 +1100
Branches: master
https://developer.blender.org/rBcd8a84c869418f2b695c2662aa63d70bb4157856

Cleanup: warnings

===================================================================

M	source/blender/gpu/intern/gpu_buffers.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index ed5107f..a55b7f7 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);




More information about the Bf-blender-cvs mailing list