mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:45:39 +00:00
wined3d: Make the buffer parameter to buffer_sanitize_flags() const.
This commit is contained in:
parent
27132a30f5
commit
117af3a2b1
|
@ -934,7 +934,7 @@ void CDECL wined3d_buffer_preload(struct wined3d_buffer *buffer)
|
|||
context_release(context);
|
||||
}
|
||||
|
||||
static DWORD buffer_sanitize_flags(struct wined3d_buffer *buffer, DWORD flags)
|
||||
static DWORD buffer_sanitize_flags(const struct wined3d_buffer *buffer, DWORD flags)
|
||||
{
|
||||
/* Not all flags make sense together, but Windows never returns an error. Catch the
|
||||
* cases that could cause issues */
|
||||
|
|
Loading…
Reference in a new issue