Subversion Repositories Kolibri OS

Rev

Rev 4768 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4768 Rev 5375
Line 66... Line 66...
66
    update.width  = render->width;
66
    update.width  = render->width;
67
    update.height = render->height;
67
    update.height = render->height;
68
    update.bo_pitch = (render->width+15) & ~15;
68
    update.bo_pitch = (render->width+15) & ~15;
69
    update.bo_map = (int)render->mask_buffer;
69
    update.bo_map = (int)render->mask_buffer;
Line 70... Line 70...
70
 
70
 
71
    if(drm_ioctl(render->fd, 45, &update))
71
    if(drm_ioctl(render->fd, SRV_MASK_UPDATE_EX, &update))
Line 72... Line 72...
72
        return;
72
        return;
73
 
73
 
74
    if (!eglMakeCurrent(render->dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, render->context))
74
    if (!eglMakeCurrent(render->dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, render->context))