=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3dx9_36: Don' t make the input parameter to remap_faces_for_attrsort const.
Alexandre Julliard
julliard at winehq.org
Mon Jan 6 14:47:14 CST 2014
Module: wine
Branch: master
Commit: 303a5f05f71d0250f02acff8bb9635006c850c04
URL: http://source.winehq.org/git/wine.git/?a=commit;h=303a5f05f71d0250f02acff8bb9635006c850c04
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri Jan 3 14:17:17 2014 +0100
d3dx9_36: Don't make the input parameter to remap_faces_for_attrsort const.
---
dlls/d3dx9_36/mesh.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index aa20119..133f14d 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -1610,9 +1610,9 @@ static int attrib_entry_compare(const DWORD **a, const DWORD **b)
/* Create face_remap, a new attribute buffer for attribute sort optimization. */
static HRESULT remap_faces_for_attrsort(struct d3dx9_mesh *This, const DWORD *indices,
- const DWORD *attrib_buffer, DWORD **sorted_attrib_buffer, DWORD **face_remap)
+ DWORD *attrib_buffer, DWORD **sorted_attrib_buffer, DWORD **face_remap)
{
- const DWORD **sorted_attrib_ptr_buffer = NULL;
+ DWORD **sorted_attrib_ptr_buffer = NULL;
DWORD i;
*face_remap = HeapAlloc(GetProcessHeap(), 0, This->numfaces * sizeof(**face_remap));
More information about the wine-cvs
mailing list