Module: wine Branch: master Commit: 3abe88f12549dd8a73ab9797145c04e145e954a1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=3abe88f12549dd8a73ab97971...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Mar 14 11:57:15 2018 +0330
wined3d: Get rid of the unused context_get_rt_surface().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/wined3d_private.h | 9 --------- 1 file changed, 9 deletions(-)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 7da2da4..8acf3b0 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -4419,15 +4419,6 @@ static inline void wined3d_insert_bits(DWORD *bitstream, } }
-static inline struct wined3d_surface *context_get_rt_surface(const struct wined3d_context *context) -{ - struct wined3d_texture *texture = context->current_rt.texture; - - if (!texture) - return NULL; - return texture->sub_resources[context->current_rt.sub_resource_idx].u.surface; -} - static inline void wined3d_from_cs(const struct wined3d_cs *cs) { if (cs->thread)