Skip to content

Commit

Permalink
altrace: Log the correct pointer during alcCreateContext().
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 16, 2019
1 parent da9e567 commit cc2f09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altrace/altrace_record.c
Expand Up @@ -809,7 +809,7 @@ ALCcontext *alcCreateContext(ALCdevice *_device, const ALCint* attrlist)
}
}
retval = REAL_alcCreateContext(device->device, attrlist);
IO_PTR(retval ? device : NULL);
IO_PTR(retval ? ctx : NULL);

if (retval == NULL) {
free(ctx);
Expand Down

0 comments on commit cc2f09a

Please sign in to comment.