Henri Verbeet : wined3d: Rename WineD3D_ChoosePixelFormat() to context_choose_pixel_format().

Alexandre Julliard julliard at winehq.org
Tue Aug 23 12:44:59 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Aug 22 21:02:44 2011 +0200

wined3d: Rename WineD3D_ChoosePixelFormat() to context_choose_pixel_format().

---

 dlls/wined3d/context.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 53aeca3..9a67536 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1053,8 +1053,8 @@ void context_invalidate_state(struct wined3d_context *context, DWORD state)
     context->isStateDirty[idx] |= (1 << shift);
 }
 
-/* This function takes care of WineD3D pixel format selection. */
-static int WineD3D_ChoosePixelFormat(struct wined3d_device *device, HDC hdc,
+/* This function takes care of wined3d pixel format selection. */
+static int context_choose_pixel_format(struct wined3d_device *device, HDC hdc,
         const struct wined3d_format *color_format, const struct wined3d_format *ds_format,
         BOOL auxBuffers, int numSamples, BOOL findCompatible)
 {
@@ -1290,14 +1290,14 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
     }
 
     /* Try to find a pixel format which matches our requirements. */
-    pixel_format = WineD3D_ChoosePixelFormat(device, hdc, color_format, ds_format,
+    pixel_format = context_choose_pixel_format(device, hdc, color_format, ds_format,
             auxBuffers, numSamples, FALSE /* findCompatible */);
 
     /* Try to locate a compatible format if we weren't able to find anything. */
     if (!pixel_format)
     {
         TRACE("Trying to locate a compatible pixel format because an exact match failed.\n");
-        pixel_format = WineD3D_ChoosePixelFormat(device, hdc, color_format, ds_format,
+        pixel_format = context_choose_pixel_format(device, hdc, color_format, ds_format,
                 auxBuffers, 0 /* numSamples */, TRUE /* findCompatible */);
     }
 




More information about the wine-cvs mailing list