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
eafb3d8f
Commit
eafb3d8f
authored
Oct 30, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32/tests: Use BOOL type where appropriate.
parent
129df098
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
opengl.c
dlls/opengl32/tests/opengl.c
+5
-4
No files found.
dlls/opengl32/tests/opengl.c
View file @
eafb3d8f
...
@@ -343,7 +343,7 @@ static void test_setpixelformat(HDC winhdc)
...
@@ -343,7 +343,7 @@ static void test_setpixelformat(HDC winhdc)
static
void
test_sharelists
(
HDC
winhdc
)
static
void
test_sharelists
(
HDC
winhdc
)
{
{
HGLRC
hglrc1
,
hglrc2
,
hglrc3
;
HGLRC
hglrc1
,
hglrc2
,
hglrc3
;
int
res
;
BOOL
res
;
hglrc1
=
wglCreateContext
(
winhdc
);
hglrc1
=
wglCreateContext
(
winhdc
);
res
=
wglShareLists
(
0
,
0
);
res
=
wglShareLists
(
0
,
0
);
...
@@ -451,7 +451,7 @@ static void test_colorbits(HDC hdc)
...
@@ -451,7 +451,7 @@ static void test_colorbits(HDC hdc)
int
iAttribRet
[
sizeof
(
iAttribList
)
/
sizeof
(
iAttribList
[
0
])];
int
iAttribRet
[
sizeof
(
iAttribList
)
/
sizeof
(
iAttribList
[
0
])];
const
int
iAttribs
[]
=
{
WGL_ALPHA_BITS_ARB
,
1
,
0
};
const
int
iAttribs
[]
=
{
WGL_ALPHA_BITS_ARB
,
1
,
0
};
unsigned
int
nFormats
;
unsigned
int
nFormats
;
int
res
;
BOOL
res
;
int
iPixelFormat
=
0
;
int
iPixelFormat
=
0
;
if
(
!
pwglChoosePixelFormatARB
)
if
(
!
pwglChoosePixelFormatARB
)
...
@@ -486,7 +486,7 @@ static void test_gdi_dbuf(HDC hdc)
...
@@ -486,7 +486,7 @@ static void test_gdi_dbuf(HDC hdc)
int
iAttribRet
[
sizeof
(
iAttribList
)
/
sizeof
(
iAttribList
[
0
])];
int
iAttribRet
[
sizeof
(
iAttribList
)
/
sizeof
(
iAttribList
[
0
])];
unsigned
int
nFormats
;
unsigned
int
nFormats
;
int
iPixelFormat
;
int
iPixelFormat
;
int
res
;
BOOL
res
;
if
(
!
pwglGetPixelFormatAttribivARB
)
if
(
!
pwglGetPixelFormatAttribivARB
)
{
{
...
@@ -730,7 +730,8 @@ static void test_deletecontext(HWND hwnd, HDC hdc)
...
@@ -730,7 +730,8 @@ static void test_deletecontext(HWND hwnd, HDC hdc)
struct
wgl_thread_param
thread_params
;
struct
wgl_thread_param
thread_params
;
HGLRC
hglrc
=
wglCreateContext
(
hdc
);
HGLRC
hglrc
=
wglCreateContext
(
hdc
);
HANDLE
thread_handle
;
HANDLE
thread_handle
;
DWORD
res
,
tid
;
BOOL
res
;
DWORD
tid
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
wglDeleteContext
(
NULL
);
res
=
wglDeleteContext
(
NULL
);
...
...
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