mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.
This commit is contained in:
parent
a47f15ba1d
commit
ccec9f76d5
1 changed files with 2 additions and 2 deletions
|
|
@ -276,12 +276,12 @@ stw_get_current_context( void )
|
|||
struct stw_context *ctx;
|
||||
|
||||
if(!glcurctx)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
ctx = (struct stw_context *)glcurctx->DriverCtx;
|
||||
assert(ctx);
|
||||
if(!ctx)
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
return ctx->hglrc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue