From d0beabb642ea8acb8e3d69aa3fc503ad703e7dfd Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Fri, 12 Apr 2013 17:56:07 +0000 Subject: Add function to query maximum texture size. Also, make texture upload functions aware of this limit. --- source/blender/gpu/GPU_extensions.h | 2 ++ 1 file changed, 2 insertions(+) (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 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 */ -- cgit v1.2.3