Module: wine Branch: master Commit: 0fe7b45b6c730cd33781efdef56ab56a525e8863 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0fe7b45b6c730cd33781efdef5...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed May 19 11:13:34 2010 +0200
wined3d: Make context_attach_surface_fbo() static.
---
dlls/wined3d/context.c | 2 +- dlls/wined3d/wined3d_private.h | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 065fceb..dc86ba4 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -253,7 +253,7 @@ void context_attach_depth_stencil_fbo(struct wined3d_context *context, }
/* GL locking is done by the caller */ -void context_attach_surface_fbo(const struct wined3d_context *context, +static void context_attach_surface_fbo(const struct wined3d_context *context, GLenum fbo_target, DWORD idx, IWineD3DSurfaceImpl *surface) { const struct wined3d_gl_info *gl_info = context->gl_info; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 0b22a56..0147c2f 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -1200,8 +1200,6 @@ void context_apply_fbo_state_blit(struct wined3d_context *context, GLenum target IWineD3DSurfaceImpl *render_target, IWineD3DSurfaceImpl *depth_stencil) DECLSPEC_HIDDEN; void context_attach_depth_stencil_fbo(struct wined3d_context *context, GLenum fbo_target, IWineD3DSurfaceImpl *depth_stencil, BOOL use_render_buffer) DECLSPEC_HIDDEN; -void context_attach_surface_fbo(const struct wined3d_context *context, - GLenum fbo_target, DWORD idx, IWineD3DSurfaceImpl *surface) DECLSPEC_HIDDEN; void context_bind_fbo(struct wined3d_context *context, GLenum target, GLuint *fbo) DECLSPEC_HIDDEN; struct wined3d_context *context_create(IWineD3DSwapChainImpl *swapchain, IWineD3DSurfaceImpl *target, const struct wined3d_format_desc *ds_format_desc) DECLSPEC_HIDDEN;