mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
opengl32: Mark invalid handles with ffff instead of 0.
This commit is contained in:
parent
a0f9a251f9
commit
8b97ff3278
@ -164,7 +164,7 @@ static HGLRC alloc_handle( struct wgl_context *context, const struct wgl_funcs *
|
||||
|
||||
static void free_handle_ptr( struct wgl_handle *ptr )
|
||||
{
|
||||
ptr->handle &= ~0xffff;
|
||||
ptr->handle |= 0xffff;
|
||||
ptr->context = (struct wgl_context *)next_free;
|
||||
ptr->funcs = NULL;
|
||||
next_free = ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user