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
23b1988f
Commit
23b1988f
authored
Sep 28, 2008
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Add some driver traces to the tests.
parent
3ecb8bdd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
opengl.c
dlls/opengl32/tests/opengl.c
+11
-0
No files found.
dlls/opengl32/tests/opengl.c
View file @
23b1988f
...
...
@@ -22,6 +22,11 @@
#include <wingdi.h>
#include "wine/test.h"
const
unsigned
char
*
WINAPI
glGetString
(
unsigned
int
);
#define GL_VENDOR 0x1F00
#define GL_RENDERER 0x1F01
#define GL_VERSION 0x1F02
#define MAX_FORMATS 256
typedef
void
*
HPBUFFERARB
;
...
...
@@ -470,6 +475,12 @@ START_TEST(opengl)
hglrc
=
wglCreateContext
(
hdc
);
res
=
wglMakeCurrent
(
hdc
,
hglrc
);
ok
(
res
,
"wglMakeCurrent failed!
\n
"
);
if
(
res
)
{
trace
(
"OpenGL renderer: %s
\n
"
,
glGetString
(
GL_RENDERER
));
trace
(
"OpenGL driver version: %s
\n
"
,
glGetString
(
GL_VERSION
));
trace
(
"OpenGL vendor: %s
\n
"
,
glGetString
(
GL_VENDOR
));
}
test_makecurrent
(
hdc
);
test_setpixelformat
(
hdc
);
...
...
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