Henri Verbeet : wined3d: Get rid of the unused context_get_rt_surface().
Alexandre Julliard
julliard at winehq.org
Wed Mar 14 17:37:17 CDT 2018
Module: wine
Branch: master
Commit: 3abe88f12549dd8a73ab9797145c04e145e954a1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3abe88f12549dd8a73ab9797145c04e145e954a1
Author: Henri Verbeet <hverbeet at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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)
More information about the wine-cvs
mailing list