Module: wine Branch: master Commit: 3068f0470d978d353b1c6e73ccb7434f14948d5b URL: http://source.winehq.org/git/wine.git/?a=commit;h=3068f0470d978d353b1c6e73cc...
Author: Józef Kucia jkucia@codeweavers.com Date: Sun Sep 27 18:49:55 2015 +0200
d3d11: Rename d3d10_rb_{alloc, realloc, free} to d3d_rb_{alloc, realloc, free}.
Signed-off-by: Józef Kucia jkucia@codeweavers.com
---
dlls/d3d11/device.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c index ee492ca..73ff58e 100644 --- a/dlls/d3d11/device.c +++ b/dlls/d3d11/device.c @@ -3038,17 +3038,17 @@ static const struct wined3d_device_parent_ops d3d10_wined3d_device_parent_ops = device_parent_create_swapchain, };
-static void *d3d10_rb_alloc(size_t size) +static void *d3d_rb_alloc(size_t size) { return HeapAlloc(GetProcessHeap(), 0, size); }
-static void *d3d10_rb_realloc(void *ptr, size_t size) +static void *d3d_rb_realloc(void *ptr, size_t size) { return HeapReAlloc(GetProcessHeap(), 0, ptr, size); }
-static void d3d10_rb_free(void *ptr) +static void d3d_rb_free(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); } @@ -3063,9 +3063,9 @@ static int d3d10_sampler_state_compare(const void *key, const struct wine_rb_ent
static const struct wine_rb_functions d3d10_sampler_state_rb_ops = { - d3d10_rb_alloc, - d3d10_rb_realloc, - d3d10_rb_free, + d3d_rb_alloc, + d3d_rb_realloc, + d3d_rb_free, d3d10_sampler_state_compare, };
@@ -3079,9 +3079,9 @@ static int d3d10_blend_state_compare(const void *key, const struct wine_rb_entry
static const struct wine_rb_functions d3d10_blend_state_rb_ops = { - d3d10_rb_alloc, - d3d10_rb_realloc, - d3d10_rb_free, + d3d_rb_alloc, + d3d_rb_realloc, + d3d_rb_free, d3d10_blend_state_compare, };
@@ -3096,9 +3096,9 @@ static int d3d10_depthstencil_state_compare(const void *key, const struct wine_r
static const struct wine_rb_functions d3d10_depthstencil_state_rb_ops = { - d3d10_rb_alloc, - d3d10_rb_realloc, - d3d10_rb_free, + d3d_rb_alloc, + d3d_rb_realloc, + d3d_rb_free, d3d10_depthstencil_state_compare, };
@@ -3112,9 +3112,9 @@ static int d3d_rasterizer_state_compare(const void *key, const struct wine_rb_en
static const struct wine_rb_functions d3d_rasterizer_state_rb_ops = { - d3d10_rb_alloc, - d3d10_rb_realloc, - d3d10_rb_free, + d3d_rb_alloc, + d3d_rb_realloc, + d3d_rb_free, d3d_rasterizer_state_compare, };