From fe9b3dd5f9af186cc04ce3e5bbbc08d993b9cf8a Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 14 Feb 2022 09:16:06 +0100 Subject: [PATCH] Image Engine: Limit the number of interal textures. Currently one a single texture slot is used to update the screen. Current design is implemented to use multiple textures. for now limit the number of texture slots to 1. --- source/blender/draw/engines/image/image_instance_data.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/engines/image/image_instance_data.hh b/source/blender/draw/engines/image/image_instance_data.hh index 1a7a20b8b9a..77b771a9110 100644 --- a/source/blender/draw/engines/image/image_instance_data.hh +++ b/source/blender/draw/engines/image/image_instance_data.hh @@ -36,7 +36,7 @@ * * 4 textures are used to reduce uploading screen space textures when translating the image. */ -constexpr int SCREEN_SPACE_DRAWING_MODE_TEXTURE_LEN = 4; +constexpr int SCREEN_SPACE_DRAWING_MODE_TEXTURE_LEN = 1; struct IMAGE_InstanceData { struct Image *image;