Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
28be1f78
Commit
28be1f78
authored
Oct 11, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Use BOOL type where appropriate.
parent
18556fd5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
opengl.c
dlls/gdi32/dibdrv/opengl.c
+2
-2
region.c
dlls/gdi32/region.c
+1
-1
No files found.
dlls/gdi32/dibdrv/opengl.c
View file @
28be1f78
...
@@ -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
)
...
...
dlls/gdi32/region.c
View file @
28be1f78
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment