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

wined3d: Make the buffer parameter to buffer_is_dirty() const.

parent b49e08aa
...@@ -76,9 +76,9 @@ static inline void buffer_clear_dirty_areas(struct wined3d_buffer *This) ...@@ -76,9 +76,9 @@ static inline void buffer_clear_dirty_areas(struct wined3d_buffer *This)
This->modified_areas = 0; This->modified_areas = 0;
} }
static inline BOOL buffer_is_dirty(struct wined3d_buffer *This) static BOOL buffer_is_dirty(const struct wined3d_buffer *buffer)
{ {
return !!This->modified_areas; return !!buffer->modified_areas;
} }
static inline BOOL buffer_is_fully_dirty(struct wined3d_buffer *This) static inline BOOL buffer_is_fully_dirty(struct wined3d_buffer *This)
......
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