wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.

This commit is contained in:
José Fonseca
2009-04-28 19:46:56 +01:00
committed by Keith Whitwell
parent a47f15ba1d
commit ccec9f76d5

View File

@@ -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;
}