forked from Mirrors/wine-wine
gdi32: Use BOOL type where appropriate.
parent
18556fd521
commit
28be1f7853
|
@ -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,
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue