Broken code in 0.163
BCS
BCS at pathlink.com
Tue Jul 18 15:00:26 PDT 2006
Cris wrote:
> Any ideas why this code is broken in the newest compiler? The wgl
> functions are not recognized. This is from the bobef's glee.d
>
> I had a few more problems with the change of the import defaults but
> I've fixed them. With the wgl function I have no idea what is wrong.
>
> char *__GLeeGetExtStrPlat()
> {
> version(Windows)
> {
> if (!_GLEE_WGL_ARB_extensions_string)
> pwglGetExtensionsStringARB =
> cast(PFNWGLGETEXTENSIONSSTRINGARBPROC)
> wglGetProcAddress("wglGetExtensionsStringARB");
>
> if (pwglGetExtensionsStringARB)
> return cast(char *)pwglGetExtensionsStringARB(wglGetCurrentDC());
>
> }
I assume that you have made sure that the modules with each simple is
imported directly or indirectly by way of explicit "public" imports?
More information about the Digitalmars-d
mailing list