From 2840782d8478f1c37c2aa91cc7f12c8e1f4dca0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 16 Jul 2020 20:56:17 +0200 Subject: Cleanup: GPU: Make icon drawing use GPUTexture This remove all gl function calls. Adds a new sampler only for icon drawing. --- source/blender/gpu/GPU_texture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/gpu/GPU_texture.h') diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index a13f61177e6..f9e129b2f7a 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -298,6 +298,8 @@ int GPU_texture_opengl_bindcode(const GPUTexture *tex); void GPU_texture_get_mipmap_size(GPUTexture *tex, int lvl, int *size); +void GPU_sampler_icon_bind(int number); + #ifdef __cplusplus } #endif -- cgit v1.2.3