mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 20:31:35 +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…
x
Reference in New Issue
Block a user