diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-12 21:56:07 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-12 21:56:07 +0400 |
commit | d0beabb642ea8acb8e3d69aa3fc503ad703e7dfd (patch) | |
tree | 35684f2a142bd21b4e1c380ad61a8d8ff9df25c9 /source/blender/gpu/GPU_extensions.h | |
parent | a305452275207a555d2812c3a5ea6647f0f594e4 (diff) |
Add function to query maximum texture size. Also, make texture upload
functions aware of this limit.
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r-- | source/blender/gpu/GPU_extensions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index 0ae45775473..6037f0fa1ed 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -66,6 +66,8 @@ int GPU_non_power_of_two_support(void); int GPU_color_depth(void); void GPU_code_generate_glsl_lib(void); int GPU_bicubic_bump_support(void); +int GPU_max_texture_size (void); + /* GPU Types */ |