On Wednesday, 15 February 2017 at 12:32:42 UTC, Kagamin wrote:
On Wednesday, 15 February 2017 at 12:00:51 UTC, Mike Parker wrote:
version(UseX11) {
    struct Display;
    alias EGLNativeWindowType = Display*;
}
else version(UseWayland) {
    struct wl_display;
    EGLNativeWindowType = wgl_display*;
}

If you use void* for Display*, why do you need casts? What do you cast it to?

In this case I don't of course. Shouldn't have mentioned it in that context.

Reply via email to