From 31c77a14af7cac2bc52ecaffde1bae9775dc47ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sat, 5 Sep 2020 17:31:53 +0200 Subject: GPUTexture: Add support for samplers This just add back the support. This commit also includes a bit of cleanup. # Conflicts: # source/blender/gpu/GPU_texture.h --- source/blender/gpu/intern/gpu_backend.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/gpu/intern/gpu_backend.hh') diff --git a/source/blender/gpu/intern/gpu_backend.hh b/source/blender/gpu/intern/gpu_backend.hh index 06aff94dffe..330c7d59b6d 100644 --- a/source/blender/gpu/intern/gpu_backend.hh +++ b/source/blender/gpu/intern/gpu_backend.hh @@ -43,6 +43,8 @@ class GPUBackend { static GPUBackend *get(void); + virtual void samplers_update(void) = 0; + virtual GPUContext *context_alloc(void *ghost_window) = 0; virtual Batch *batch_alloc(void) = 0; -- cgit v1.2.3