Skip to content
Snippets Groups Projects
Commit 8b97ff32 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

opengl32: Mark invalid handles with ffff instead of 0.

parent a0f9a251
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment