Francois Gouget : wined3d: Make surface_prepare_rb() static.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 18 10:33:31 CST 2015
Module: wine
Branch: master
Commit: cb2f6fbfe580b56d20dece2c0b863b3c5f973a65
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb2f6fbfe580b56d20dece2c0b863b3c5f973a65
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Nov 18 14:59:21 2015 +0100
wined3d: Make surface_prepare_rb() static.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/surface.c | 2 +-
dlls/wined3d/wined3d_private.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 8c70f34..0a7112c 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2885,7 +2885,7 @@ void surface_load_fb_texture(struct wined3d_surface *surface, BOOL srgb, struct
context_restore(context, restore_rt);
}
-void surface_prepare_rb(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, BOOL multisample)
+static void surface_prepare_rb(struct wined3d_surface *surface, const struct wined3d_gl_info *gl_info, BOOL multisample)
{
if (multisample)
{
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index b6e6635..a60919e 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2467,8 +2467,6 @@ HRESULT surface_load_location(struct wined3d_surface *surface,
void surface_modify_ds_location(struct wined3d_surface *surface, DWORD location, UINT w, UINT h) DECLSPEC_HIDDEN;
void wined3d_surface_prepare(struct wined3d_surface *surface, struct wined3d_context *context,
DWORD location) DECLSPEC_HIDDEN;
-void surface_prepare_rb(struct wined3d_surface *surface,
- const struct wined3d_gl_info *gl_info, BOOL multisample) DECLSPEC_HIDDEN;
void surface_set_compatible_renderbuffer(struct wined3d_surface *surface,
const struct wined3d_surface *rt) DECLSPEC_HIDDEN;
void surface_set_texture_target(struct wined3d_surface *surface, GLenum target, GLint level) DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list