From ad96dacbc5a7cc61ccf74405927847f243a955b5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 17 Dec 2011 00:52:36 +0000 Subject: style edit only - move parenthesis onto second line of function definition (in keeping with most of blenders code) also split some long lines in own code. --- source/blender/gpu/intern/gpu_codegen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu/intern/gpu_codegen.c') diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index cc4b092a071..33796b7c215 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -647,11 +647,13 @@ static char *code_generate_vertex(ListBase *nodes) return code; } -int GPU_bicubic_bump_support(void){ +int GPU_bicubic_bump_support(void) +{ return GLEW_ARB_texture_gather && GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0; } -void GPU_code_generate_glsl_lib(void){ +void GPU_code_generate_glsl_lib(void) +{ DynStr *ds; /* only initialize the library once */ -- cgit v1.2.3