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 -- source/blender/blenkernel/intern/movieclip.c | 1 - 2 files changed, 3 deletions(-) (limited to 'source/blender/blenkernel/intern') 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, diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c index e21e0a7d510..5b4dbc66cc2 100644 --- a/source/blender/blenkernel/intern/movieclip.c +++ b/source/blender/blenkernel/intern/movieclip.c @@ -72,7 +72,6 @@ #include "DEG_depsgraph.h" #include "DEG_depsgraph_query.h" -#include "GPU_draw.h" #include "GPU_texture.h" #ifdef WITH_OPENEXR -- cgit v1.2.3