Module: wine Branch: master Commit: e1a79d4d7c1dc29af3b732048859e534e7c21f60 URL: https://source.winehq.org/git/wine.git/?a=commit;h=e1a79d4d7c1dc29af3b732048...
Author: Paul Gofman pgofman@codeweavers.com Date: Thu Apr 16 18:27:40 2020 +0300
ddraw: Convert BOOL flags to bitfields in ddraw_surface.
Signed-off-by: Paul Gofman pgofman@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ddraw/ddraw_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h index 83e3ee10c0..aa90972bc1 100644 --- a/dlls/ddraw/ddraw_private.h +++ b/dlls/ddraw/ddraw_private.h @@ -195,8 +195,8 @@ struct ddraw_surface /* You can't traverse the tree upwards. Only a flag for Surface::Release because it's needed there, * but no pointer to prevent temptations to traverse it in the wrong direction. */ - BOOL is_complex_root; - BOOL is_lost; + unsigned int is_complex_root : 1; + unsigned int is_lost : 1;
/* Surface description, for GetAttachedSurface */ DDSURFACEDESC2 surface_desc;