From 486c7b87fb06bf6c9e3c15166751d8b987d7f00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 29 Jul 2020 23:21:33 +0200 Subject: Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRW --- source/blender/blenkernel/intern/image_gpu.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/blenkernel/intern/image_gpu.c') diff --git a/source/blender/blenkernel/intern/image_gpu.c b/source/blender/blenkernel/intern/image_gpu.c index b02b6e1453c..6999051d77b 100644 --- a/source/blender/blenkernel/intern/image_gpu.c +++ b/source/blender/blenkernel/intern/image_gpu.c @@ -729,7 +729,6 @@ static void gpu_texture_update_from_ibuf( * quicker than fully updating the texture for high resolution images. */ void BKE_image_update_gputexture(Image *ima, ImageUser *iuser, int x, int y, int w, int h) { -#ifndef GPU_STANDALONE ImBuf *ibuf = BKE_image_acquire_ibuf(ima, iuser, NULL); ImageTile *tile = BKE_image_get_tile_from_iuser(ima, iuser); @@ -751,7 +750,6 @@ void BKE_image_update_gputexture(Image *ima, ImageUser *iuser, int x, int y, int } BKE_image_release_ibuf(ima, ibuf, NULL); -#endif } /* these two functions are called on entering and exiting texture paint mode, -- cgit v1.2.3