wined3d: Enable long types in buffer.c.

This commit is contained in:
Eric Pouech 2022-12-06 14:12:23 +01:00 committed by Alexandre Julliard
parent e95fec3789
commit 26b99cc14c

View file

@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* *
*/ */
#define WINE_NO_LONG_TYPES /* temporary */
#include "wined3d_private.h" #include "wined3d_private.h"
@ -1288,7 +1287,7 @@ static HRESULT wined3d_buffer_init(struct wined3d_buffer *buffer, struct wined3d
WINED3D_MULTISAMPLE_NONE, 0, desc->usage, desc->bind_flags, access, WINED3D_MULTISAMPLE_NONE, 0, desc->usage, desc->bind_flags, access,
desc->byte_width, 1, 1, desc->byte_width, parent, parent_ops, &buffer_resource_ops))) desc->byte_width, 1, 1, desc->byte_width, parent, parent_ops, &buffer_resource_ops)))
{ {
WARN("Failed to initialize resource, hr %#x.\n", hr); WARN("Failed to initialize resource, hr %#lx.\n", hr);
return hr; return hr;
} }
buffer->buffer_ops = buffer_ops; buffer->buffer_ops = buffer_ops;