wined3d-CSMT_Main: Fix compilation on x86_64.

This commit is contained in:
Sebastian Lackner 2015-09-06 10:29:21 +02:00
parent 49c01cab8a
commit 7d662cf2d7
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ index 1891165..86441d1 100644
resource->draw_binding = WINED3D_LOCATION_TEXTURE_RGB;
}
+
+void CDECL wined3d_resource_get_pitch(const struct wined3d_resource *resource, UINT *row_pitch,
+void wined3d_resource_get_pitch(const struct wined3d_resource *resource, UINT *row_pitch,
+ UINT *slice_pitch)
+{
+ unsigned int alignment;

View File

@ -10125,7 +10125,7 @@ diff --git a/dlls/wined3d/resource.c b/dlls/wined3d/resource.c
}
+#if defined(STAGING_CSMT)
void CDECL wined3d_resource_get_pitch(const struct wined3d_resource *resource, UINT *row_pitch,
void wined3d_resource_get_pitch(const struct wined3d_resource *resource, UINT *row_pitch,
UINT *slice_pitch)
@@ -1024,3 +1043,4 @@