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); }