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
1766483e
Commit
1766483e
authored
Aug 09, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc 4.0 warnings.
parent
f223b68b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
directx.c
dlls/d3d8/directx.c
+4
-4
No files found.
dlls/d3d8/directx.c
View file @
1766483e
...
...
@@ -236,7 +236,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
This
->
gl_info
.
glx_version
=
((
major
&
0x0000FFFF
)
<<
16
)
|
(
minor
&
0x0000FFFF
);
gl_string
=
glXGetClientString
(
display
,
GLX_VENDOR
);
}
else
{
gl_string
=
glGetString
(
GL_VENDOR
);
gl_string
=
(
const
char
*
)
glGetString
(
GL_VENDOR
);
}
if
(
strstr
(
gl_string
,
"NVIDIA"
))
{
...
...
@@ -249,7 +249,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
TRACE_
(
d3d_caps
)(
"found GL_VENDOR (%s)->(0x%04x)
\n
"
,
debugstr_a
(
gl_string
),
This
->
gl_info
.
gl_vendor
);
gl_string
=
glGetString
(
GL_VERSION
);
gl_string
=
(
const
char
*
)
glGetString
(
GL_VERSION
);
switch
(
This
->
gl_info
.
gl_vendor
)
{
case
VENDOR_NVIDIA
:
gl_string_cursor
=
strstr
(
gl_string
,
"NVIDIA"
);
...
...
@@ -312,7 +312,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
FIXME_
(
d3d_caps
)(
"found GL_VERSION (%s)->(0x%08lx)
\n
"
,
debugstr_a
(
gl_string
),
This
->
gl_info
.
gl_driver_version
);
gl_string
=
glGetString
(
GL_RENDERER
);
gl_string
=
(
const
char
*
)
glGetString
(
GL_RENDERER
);
strcpy
(
This
->
gl_info
.
gl_renderer
,
gl_string
);
switch
(
This
->
gl_info
.
gl_vendor
)
{
...
...
@@ -366,7 +366,7 @@ static void IDirect3D8Impl_FillGLCaps(LPDIRECT3D8 iface, Display* display) {
TRACE_
(
d3d_caps
)(
"Lights support - max lights=%d
\n
"
,
gl_max
);
/* Parse the gl supported features, in theory enabling parts of our code appropriately */
GL_Extensions
=
glGetString
(
GL_EXTENSIONS
);
GL_Extensions
=
(
const
char
*
)
glGetString
(
GL_EXTENSIONS
);
TRACE_
(
d3d_caps
)(
"GL_Extensions reported:
\n
"
);
if
(
NULL
==
GL_Extensions
)
{
...
...
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