Commit ee7c6c2a authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent c390f415
...@@ -4212,7 +4212,7 @@ const char *debug_const_bo_address(const struct wined3d_const_bo_address *addres ...@@ -4212,7 +4212,7 @@ const char *debug_const_bo_address(const struct wined3d_const_bo_address *addres
{ {
if (!address) if (!address)
return "(null)"; 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) const char *debug_bo_address(const struct wined3d_bo_address *address)
......
...@@ -1461,13 +1461,13 @@ do { \ ...@@ -1461,13 +1461,13 @@ do { \
struct wined3d_bo_address struct wined3d_bo_address
{ {
GLuint buffer_object; UINT_PTR buffer_object;
BYTE *addr; BYTE *addr;
}; };
struct wined3d_const_bo_address struct wined3d_const_bo_address
{ {
GLuint buffer_object; UINT_PTR buffer_object;
const BYTE *addr; const BYTE *addr;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment