[Bf-blender-cvs] [4778369ee82] blender2.8: Eevee: Fix warning

Clément Foucault noreply at git.blender.org
Tue Apr 18 15:37:30 CEST 2017


Commit: 4778369ee822cf7bf69eb666b6de42817e20a822
Author: Clément Foucault
Date:   Tue Apr 18 15:22:54 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB4778369ee822cf7bf69eb666b6de42817e20a822

Eevee: Fix warning

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

M	source/blender/draw/engines/eevee/eevee.c

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

diff --git a/source/blender/draw/engines/eevee/eevee.c b/source/blender/draw/engines/eevee/eevee.c
index f1eaead42c7..acfc51f83de 100644
--- a/source/blender/draw/engines/eevee/eevee.c
+++ b/source/blender/draw/engines/eevee/eevee.c
@@ -116,7 +116,7 @@ static struct GPUTexture *create_jitter_texture(int w, int h)
 	return tex;
 }
 
-static struct GPUTexture *create_ggx_lut_texture(int w, int h)
+static struct GPUTexture *create_ggx_lut_texture(int UNUSED(w), int UNUSED(h))
 {
 	struct GPUTexture *tex;
 #if 0 /* Used only to generate the LUT values */




More information about the Bf-blender-cvs mailing list