src/gui/egl/qegl_qws.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
    62     Q_UNUSED(device);
    62     Q_UNUSED(device);
    63     Q_UNUSED(properties);
    63     Q_UNUSED(properties);
    64     return EGL_NO_SURFACE;
    64     return EGL_NO_SURFACE;
    65 }
    65 }
    66 
    66 
    67 EGLDisplay QEglContext::getDisplay(QPaintDevice *device)
       
    68 {
       
    69     Q_UNUSED(device);
       
    70     return eglGetDisplay(EGLNativeDisplayType(EGL_DEFAULT_DISPLAY));
       
    71 }
       
    72 
       
    73 static QScreen *screenForDevice(QPaintDevice *device)
    67 static QScreen *screenForDevice(QPaintDevice *device)
    74 {
    68 {
    75     QScreen *screen = qt_screen;
    69     QScreen *screen = qt_screen;
    76     if (!screen)
    70     if (!screen)
    77         return 0;
    71         return 0;