SKIA SkCreateWGLContext returns NULL in a remote session

I have a problem with SkCreateWGLContext in a remote desktop session:

HDC dc = GetDC((HWND)fHWND);
fHGLRC = SkCreateWGLContext(dc, msaaSampleCount,
        kGLPreferCompatibilityProfile_SkWGLContextRequest);
    if (NULL == fHGLRC) {
        return false;
    }

This only happens during a remote desktop session. Is there any solution or solution to this problem?

+4
source share

Source: https://habr.com/ru/post/1609166/


All Articles