mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.
This commit is contained in:
parent
1248ff7d45
commit
bb9ea58f95
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