From 0df1bdc26832f331be5559b08de3bc06b58e0e68 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Thu, 7 Jan 2016 11:21:08 -0500 Subject: OpenGL: fix max texture anisotropy check Query max supported on init, use that to clamp user-set values. --- source/blender/gpu/GPU_extensions.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_extensions.h') diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index f3be52f324b..fda12a43a5d 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -51,6 +51,7 @@ bool GPU_instanced_drawing_support(void); int GPU_max_texture_size(void); int GPU_max_textures(void); +float GPU_max_texture_anisotropy(void); int GPU_max_color_texture_samples(void); int GPU_color_depth(void); void GPU_get_dfdy_factors(float fac[2]); -- cgit v1.2.3