wined3d: Store the "buffer_object" in struct wined3d_bo_address as an UINT_PTR.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2018-10-23 12:18:39 +03:30 committed by Alexandre Julliard
parent c390f41558
commit ee7c6c2a93
2 changed files with 3 additions and 3 deletions

View File

@ -4212,7 +4212,7 @@ const char *debug_const_bo_address(const struct wined3d_const_bo_address *addres
{
if (!address)
return "(null)";
return wine_dbg_sprintf("{%#x:%p}", address->buffer_object, address->addr);
return wine_dbg_sprintf("{%#lx:%p}", address->buffer_object, address->addr);
}
const char *debug_bo_address(const struct wined3d_bo_address *address)

View File

@ -1461,13 +1461,13 @@ do { \
struct wined3d_bo_address
{
GLuint buffer_object;
UINT_PTR buffer_object;
BYTE *addr;
};
struct wined3d_const_bo_address
{
GLuint buffer_object;
UINT_PTR buffer_object;
const BYTE *addr;
};