From b100b77fda0667d78cac0f219e0f6208d6b8f854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Fri, 4 Sep 2020 02:36:56 +0200 Subject: GLTexture: Add back texture proxy check Cleanup the feature itself: - Check 3D textures size against the correct limit. - Add check for compressed textures. --- 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 18ac2265cc4..35967ac304f 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -30,6 +30,7 @@ extern "C" { /* GPU extensions support */ int GPU_max_texture_size(void); +int GPU_max_texture_3d_size(void); int GPU_max_texture_layers(void); int GPU_max_textures(void); int GPU_max_textures_vert(void); -- cgit v1.2.3