From c0fa864e24c0a80d55cc7a3e3dcc29f6c2c99df7 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Mon, 16 Mar 2015 22:57:56 -0400 Subject: Cleanup: bool & const Using bool when we're asking yes/no questions such as whether some GPU feature is supported. Consolidated these simple functions into gpu_extensions.c and grouped them in the header. Const-ified some args where the functions don't modify the pointed-to data. --- source/blender/gpu/intern/gpu_codegen.c | 5 ----- 1 file changed, 5 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 47d2ac2d2e5..40c9ec0d862 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -719,11 +719,6 @@ static char *code_generate_vertex(ListBase *nodes, const GPUMatType type) return code; } -int GPU_bicubic_bump_support(void) -{ - return GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0; -} - void GPU_code_generate_glsl_lib(void) { DynStr *ds; -- cgit v1.2.3