[2/2] wined3d: Fix the stretch_rect_fbo() declaration to match the implementation

H. Verbeet hverbeet at gmail.com
Tue Jul 24 16:38:40 CDT 2007


This is extracted from Parallels' modified wined3d source, so credit
should go to SWsoft.
Looks pretty harmless to me, but MSVC will probably complain.

Changelog:
  - Fix the stretch_rect_fbo() declaration to match the implementation
-------------- next part --------------
---

 dlls/wined3d/wined3d_private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index d735bb5..7743051 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -2057,6 +2057,6 @@ static inline BOOL use_ps(IWineD3DDeviceImpl *device) {
 }
 
 void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, WINED3DRECT *src_rect,
-        IWineD3DSurface *dst_surface, WINED3DRECT *dst_rect, WINED3DTEXTUREFILTERTYPE filter, BOOL flip);
+        IWineD3DSurface *dst_surface, WINED3DRECT *dst_rect, const WINED3DTEXTUREFILTERTYPE filter, BOOL flip);
 
 #endif


More information about the wine-patches mailing list