Henri Verbeet : wined3d: Rename IWineD3DImpl_FillGLCaps() to wined3d_adapter_init_gl_caps().

Alexandre Julliard julliard at winehq.org
Fri Jun 10 11:16:18 CDT 2011


Module: wine
Branch: master
Commit: ee6d550b2e30f808348c8dccc873c8bda2968276
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ee6d550b2e30f808348c8dccc873c8bda2968276

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jun  9 20:40:46 2011 +0200

wined3d: Rename IWineD3DImpl_FillGLCaps() to wined3d_adapter_init_gl_caps().

---

 dlls/wined3d/directx.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 502b5d7..c2ca7a8 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -796,7 +796,7 @@ static void quirk_no_np2(struct wined3d_gl_info *gl_info)
      *  Note that wine_normalized_texrect can't be used in this case because internally it uses ARB_tex_npot,
      *  triggering the software fallback. There is not much we can do here apart from disabling the
      *  software-emulated extension and reenable ARB_tex_rect (which was previously disabled
-     *  in IWineD3DImpl_FillGLCaps).
+     *  in wined3d_adapter_init_gl_caps).
      *  This fixup removes performance problems on both the FX 5900 and FX 5700 (e.g. for framebuffer
      *  post-processing effects in the game "Max Payne 2").
      *  The behaviour can be verified through a simple test app attached in bugreport #14724. */
@@ -2110,7 +2110,7 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info, DWORD gl_version)
 }
 
 /* Context activation is done by the caller. */
-static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_adapter *adapter)
+static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter)
 {
     struct wined3d_driver_info *driver_info = &adapter->driver_info;
     struct wined3d_gl_info *gl_info = &adapter->gl_info;
@@ -5155,7 +5155,7 @@ static BOOL InitAdapters(struct wined3d *wined3d)
             goto nogl_adapter;
         }
 
-        ret = IWineD3DImpl_FillGLCaps(adapter);
+        ret = wined3d_adapter_init_gl_caps(adapter);
         if(!ret) {
             ERR("Failed to initialize gl caps for default adapter\n");
             WineD3D_ReleaseFakeGLContext(&fake_gl_ctx);




More information about the wine-cvs mailing list