From def5de6e8f2f4ae617ac23f53201fdc318daba1f Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 15 Jan 2015 08:29:53 +0000 Subject: [PATCH] eglut: update git-svn-id: svn://kolibrios.org@5375 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/eglut/swap.c | 2 +- contrib/sdk/sources/pixlib-3/pixlib3.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/contrib/sdk/sources/eglut/swap.c b/contrib/sdk/sources/eglut/swap.c index 6e9fe2d7a9..0815b2b99b 100644 --- a/contrib/sdk/sources/eglut/swap.c +++ b/contrib/sdk/sources/eglut/swap.c @@ -68,7 +68,7 @@ void render_swap_and_blit(struct render *render) update.bo_pitch = (render->width+15) & ~15; update.bo_map = (int)render->mask_buffer; - if(drm_ioctl(render->fd, 45, &update)) + if(drm_ioctl(render->fd, SRV_MASK_UPDATE_EX, &update)) return; if (!eglMakeCurrent(render->dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, render->context)) diff --git a/contrib/sdk/sources/pixlib-3/pixlib3.c b/contrib/sdk/sources/pixlib-3/pixlib3.c index 9e913da5d9..54db5b8cf4 100644 --- a/contrib/sdk/sources/pixlib-3/pixlib3.c +++ b/contrib/sdk/sources/pixlib-3/pixlib3.c @@ -47,8 +47,8 @@ static bitmap_t *sw_create_bitmap(uint32_t width, uint32_t height) if (bitmap->buffer == NULL) goto err_1; - printf("create bitmap: %p %dx%d buffer: %p\n", - bitmap, bitmap->width, bitmap->height, bitmap->buffer); +// printf("create bitmap: %p %dx%d buffer: %p\n", +// bitmap, bitmap->width, bitmap->height, bitmap->buffer); return bitmap; @@ -166,7 +166,6 @@ int pxCreateClient(int x, int y, uint32_t width, uint32_t height) int pxResizeClient(int x, int y, uint32_t width, uint32_t height) { - printf("resize client\n"); return driver->resize_client(x, y, width, height); }