eglut: update

git-svn-id: svn://kolibrios.org@5375 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2015-01-15 08:29:53 +00:00
parent abe84ef77d
commit def5de6e8f
2 changed files with 3 additions and 4 deletions

View File

@ -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))

View File

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