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:
parent
c390f41558
commit
ee7c6c2a93
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue