Commit e72d21cc authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Eliminate holes in wined3d_buffer structure.

parent 84e7a04b
...@@ -3341,19 +3341,19 @@ struct wined3d_buffer ...@@ -3341,19 +3341,19 @@ struct wined3d_buffer
GLenum buffer_type_hint; GLenum buffer_type_hint;
unsigned int bind_flags; unsigned int bind_flags;
DWORD flags; DWORD flags;
DWORD locations;
void *map_ptr; void *map_ptr;
struct wined3d_map_range *maps; struct wined3d_map_range *maps;
SIZE_T maps_size, modified_areas; SIZE_T maps_size, modified_areas;
DWORD locations;
struct wined3d_event_query *query; struct wined3d_event_query *query;
/* conversion stuff */ /* conversion stuff */
UINT decl_change_count, full_conversion_count; UINT decl_change_count, full_conversion_count;
UINT draw_count; UINT draw_count;
UINT stride; /* 0 if no conversion */ UINT stride; /* 0 if no conversion */
UINT conversion_stride; /* 0 if no shifted conversion */
enum wined3d_buffer_conversion_type *conversion_map; /* NULL if no conversion */ enum wined3d_buffer_conversion_type *conversion_map; /* NULL if no conversion */
UINT conversion_stride; /* 0 if no shifted conversion */
}; };
static inline struct wined3d_buffer *buffer_from_resource(struct wined3d_resource *resource) static inline struct wined3d_buffer *buffer_from_resource(struct wined3d_resource *resource)
......
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