diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-30 00:21:33 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-30 00:21:33 +0300 |
commit | 486c7b87fb06bf6c9e3c15166751d8b987d7f00f (patch) | |
tree | bfe804d0f6e73cef707e42143b7e3f23521e5bc8 /source/blender/blenkernel/intern/image_gpu.c | |
parent | 5f6fb5bb41ed0057f0e2f0ccded717fbf04e55e2 (diff) |
Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRW
Diffstat (limited to 'source/blender/blenkernel/intern/image_gpu.c')
-rw-r--r-- | source/blender/blenkernel/intern/image_gpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
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, |