Route WGL font code through gdi32.dll

Huw Davies huw at codeweavers.com
Thu Sep 28 04:47:54 CDT 2006


On Thu, Sep 28, 2006 at 08:01:00AM +0200, Roderick Colenbrander wrote:
> As mentioned by Huw, I forgot to attach the gdi32.spec changes :(
> This is (hopefully) a full patch.
> 
> --- dlls/opengl32/opengl32.spec	2006-09-25 23:15:35.000000000 +0200
> +++ dlls/opengl32/opengl32.spec	2006-09-27 23:09:11.000000000 +0200
> @@ -396,5 +396,5 @@
>  @  stdcall wglSwapLayerBuffers(long long)
>  @  stdcall wglUseFontBitmapsA(long long long long)
>  @  stdcall wglUseFontBitmapsW(long long long long)
> -@  stdcall wglUseFontOutlinesA(long long long long long long long ptr)
> -@  stdcall wglUseFontOutlinesW(long long long long long long long ptr)
> +@  stdcall wglUseFontOutlinesA(long long long long long long long ptr) gdi32.wglUseFontOutlinesA
> +@  stdcall wglUseFontOutlinesW(long long long long long long long ptr) gdi32.wglUseFontOutlinesW

You're still forwarding the wrong set of UseFont functions here.  Your
patch moved wglUseFontBitmaps to gdi32, so you should forward those
not wglUseFontOutlines.

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list