[RESEND]Make wine_glGetString() return NULL on null gl context - Solves Bug 13599

H. Verbeet hverbeet at gmail.com
Wed Jul 2 02:11:03 CDT 2008


2008/7/1 Massimo Del Fedele <max at veneto.com>:
> +  if(NtCurrentTeb()->glContext == NULL)
> +    return NULL;
> +
Alexandre said on IRC that you should probably use
wglGetCurrentContext() there, rather than using NtCurrentTeb()
directly.



More information about the wine-patches mailing list