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>
This commit is contained in:
Paul Gofman 2020-04-16 18:27:40 +03:00 committed by Alexandre Julliard
parent ccce5f769d
commit e1a79d4d7c
1 changed files with 2 additions and 2 deletions

View File

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