[PATCH 1/5] wined3d: Make context_attach_surface_fbo() static.

Henri Verbeet hverbeet at codeweavers.com
Wed May 19 04:13:34 CDT 2010


---
 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;
-- 
1.6.4.4




More information about the wine-patches mailing list