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:
parent
ccce5f769d
commit
e1a79d4d7c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue