From a8b54bc30193e689ae1fd496e4d72b7d6c0e95a2 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Thu, 26 Mar 2020 19:21:52 +0800 Subject: [PATCH] cleanup --- src/kernel/desktop-procs.c | 1 - src/newgal/newgal.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/kernel/desktop-procs.c b/src/kernel/desktop-procs.c index 300bc07b..149ea407 100644 --- a/src/kernel/desktop-procs.c +++ b/src/kernel/desktop-procs.c @@ -832,7 +832,6 @@ static int srvAllocZOrderNode (int cli, HWND hwnd, HWND main_win, if (surf) { memdc = CreateMemDCFromSurface (surf); - _WRN_PRINTF ("surface (%p) refcount: %d\n", surf, surf->refcount); if (memdc == HDC_INVALID) { if (cli > 0) { GAL_FreeSurface (surf); diff --git a/src/newgal/newgal.c b/src/newgal/newgal.c index e24332d5..50b7177c 100644 --- a/src/newgal/newgal.c +++ b/src/newgal/newgal.c @@ -219,7 +219,7 @@ static GAL_Surface* create_wp_surface(GAL_Surface* screen) screen->format->BitsPerPixel, screen->format->Rmask, screen->format->Gmask, screen->format->Bmask, screen->format->Amask); - _WRN_PRINTF ("GAL_CreateSharedRGBSurface: map size: %lu, fd: %d, RGBAmasks: %x, %x, %x, %x\n", + _DBG_PRINTF ("GAL_CreateSharedRGBSurface: map size: %lu, fd: %d, RGBAmasks: %x, %x, %x, %x\n", wp_surf->shared_header->map_size, wp_surf->shared_header->fd, wp_surf->format->Rmask, wp_surf->format->Gmask, wp_surf->format->Bmask, wp_surf->format->Amask); @@ -243,7 +243,7 @@ static GAL_Surface* create_wp_surface(GAL_Surface* screen) &info, sizeof (SHAREDSURFINFO), &fd) < 0) || (fd < 0)) goto empty; - _WRN_PRINTF ("REQID_GETSHAREDSURFACE: size (%lu), flags (0x%x), fd: %d\n", + _DBG_PRINTF ("REQID_GETSHAREDSURFACE: size (%lu), flags (0x%x), fd: %d\n", info.size, info.flags, fd); wp_surf = GAL_AttachSharedRGBSurface (fd, info.size, info.flags, TRUE);