Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-01-07 19:21:08 +0300
committerMike Erwin <significant.bit@gmail.com>2016-01-08 00:32:35 +0300
commit0df1bdc26832f331be5559b08de3bc06b58e0e68 (patch)
tree86ef08cfdd87e6d20aa363bec9677f5a6073d2f7 /source/blender/gpu/GPU_extensions.h
parent1aff22b81d7c2264dcd88b20730851658fda9dff (diff)
OpenGL: fix max texture anisotropy check
Query max supported on init, use that to clamp user-set values.
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r--source/blender/gpu/GPU_extensions.h1
1 files changed, 1 insertions, 0 deletions
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]);