Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
443f62d2
Commit
443f62d2
authored
Oct 16, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32/tests: Compile with -D__WINESRC__.
parent
cb194006
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/opengl32/tests/Makefile.in
+0
-1
opengl.c
dlls/opengl32/tests/opengl.c
+7
-7
No files found.
dlls/opengl32/tests/Makefile.in
View file @
443f62d2
TESTDLL
=
opengl32.dll
IMPORTS
=
opengl32 user32 gdi32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
opengl.c
...
...
dlls/opengl32/tests/opengl.c
View file @
443f62d2
...
...
@@ -303,8 +303,8 @@ static void test_setpixelformat(HDC winhdc)
else
ok
(
!
res
,
"Unexpectedly set an alternate pixel format
\n
"
);
}
hwnd
=
CreateWindow
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
hwnd
=
CreateWindow
A
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
hwnd
!=
NULL
,
"err: %d
\n
"
,
GetLastError
());
if
(
hwnd
)
{
...
...
@@ -323,8 +323,8 @@ static void test_setpixelformat(HDC winhdc)
DestroyWindow
(
hwnd
);
}
hwnd
=
CreateWindow
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
hwnd
=
CreateWindow
A
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
hwnd
!=
NULL
,
"err: %d
\n
"
,
GetLastError
());
if
(
hwnd
)
{
...
...
@@ -755,7 +755,7 @@ static void test_deletecontext(HWND hwnd, HDC hdc)
*/
thread_params
.
hglrc
=
hglrc
;
thread_params
.
hwnd
=
hwnd
;
thread_params
.
test_finished
=
CreateEvent
(
NULL
,
FALSE
,
FALSE
,
NULL
);
thread_params
.
test_finished
=
CreateEvent
W
(
NULL
,
FALSE
,
FALSE
,
NULL
);
thread_handle
=
CreateThread
(
NULL
,
0
,
wgl_thread
,
&
thread_params
,
0
,
&
tid
);
ok
(
!!
thread_handle
,
"Failed to create thread, last error %#x.
\n
"
,
GetLastError
());
if
(
thread_handle
)
...
...
@@ -1620,8 +1620,8 @@ START_TEST(opengl)
0
,
0
,
0
/* layer masks */
};
hwnd
=
CreateWindow
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
hwnd
=
CreateWindow
A
(
"static"
,
"Title"
,
WS_OVERLAPPEDWINDOW
,
10
,
10
,
200
,
200
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
hwnd
!=
NULL
,
"err: %d
\n
"
,
GetLastError
());
if
(
hwnd
)
{
...
...
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