Signed-off-by: Henri Verbeet hverbeet@codeweavers.com --- 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 7da2da4f5c8..8acf3b04a74 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)