X11Drv: import glx context code

Alexandre Julliard julliard at winehq.org
Tue Aug 29 09:15:19 CDT 2006


"Roderick Colenbrander" <thunderbird2k at gmx.net> writes:

> +@ cdecl WGL_CreateContext(long) X11DRV_WGL_CreateContext
> +@ cdecl WGL_DeleteContext(long) X11DRV_WGL_DeleteContext
> +@ cdecl WGL_GetCurrentContext() X11DRV_WGL_GetCurrentContext
> +@ cdecl WGL_GetCurrentDC() X11DRV_WGL_GetCurrentDC
> +@ cdecl WGL_GetCurrentReadDCARB() X11DRV_WGL_GetCurrentReadDCARB
> +@ cdecl WGL_glGetIntegerv(long ptr) X11DRV_WGL_glGetIntegerv

You should export the functions under their official name, like we do
for the GDI functions, so something like:

@ cdecl wglCreateContext(long) X11DRV_wglCreateContext

etc.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list