Commit 28be1f78 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

gdi32: Use BOOL type where appropriate.

parent 18556fd5
...@@ -98,13 +98,13 @@ static const int nb_formats = sizeof(pixel_formats) / sizeof(pixel_formats[0]); ...@@ -98,13 +98,13 @@ static const int nb_formats = sizeof(pixel_formats) / sizeof(pixel_formats[0]);
static BOOL init_opengl(void) static BOOL init_opengl(void)
{ {
static int init_done; static BOOL init_done = FALSE;
static void *osmesa_handle; static void *osmesa_handle;
char buffer[200]; char buffer[200];
unsigned int i; unsigned int i;
if (init_done) return (osmesa_handle != NULL); if (init_done) return (osmesa_handle != NULL);
init_done = 1; init_done = TRUE;
osmesa_handle = wine_dlopen( SONAME_LIBOSMESA, RTLD_NOW, buffer, sizeof(buffer) ); osmesa_handle = wine_dlopen( SONAME_LIBOSMESA, RTLD_NOW, buffer, sizeof(buffer) );
if (osmesa_handle == NULL) if (osmesa_handle == NULL)
......
...@@ -2664,7 +2664,7 @@ HRGN WINAPI CreatePolyPolygonRgn(const POINT *Pts, const INT *Count, ...@@ -2664,7 +2664,7 @@ HRGN WINAPI CreatePolyPolygonRgn(const POINT *Pts, const INT *Count,
struct list AET; /* header for AET */ struct list AET; /* header for AET */
EdgeTableEntry *pETEs; /* EdgeTableEntries pool */ EdgeTableEntry *pETEs; /* EdgeTableEntries pool */
ScanLineListBlock SLLBlock; /* header for scanlinelist */ ScanLineListBlock SLLBlock; /* header for scanlinelist */
int fixWAET = FALSE; BOOL fixWAET = FALSE;
struct point_block FirstPtBlock, *block; /* PtBlock buffers */ struct point_block FirstPtBlock, *block; /* PtBlock buffers */
struct edge_table_entry *active, *next; struct edge_table_entry *active, *next;
INT poly, total; INT poly, total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment