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
28170c14
Commit
28170c14
authored
Nov 23, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Report some more geforce 7 cards as geforce 7.
parent
3f328474
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
directx.c
dlls/wined3d/directx.c
+12
-4
wined3d_gl.h
include/wine/wined3d_gl.h
+2
-0
No files found.
dlls/wined3d/directx.c
View file @
28170c14
...
...
@@ -968,10 +968,18 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_7800GT
;
vidmem
=
256
;
/* A 7800GT uses 256MB while highend 7900 cards can use 512MB */
}
/* Geforce7 midend / Geforce6 highend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"6800"
)
||
strstr
(
gl_info
->
gl_renderer
,
"7600"
)
||
strstr
(
gl_info
->
gl_renderer
,
"7700"
))
/* Geforce7 midend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"7600"
)
||
strstr
(
gl_info
->
gl_renderer
,
"7700"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_7600
;
vidmem
=
256
;
/* The 7600 uses 256-512MB */
/* Geforce7 lower medium */
}
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"7400"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_7400
;
vidmem
=
256
;
/* The 7400 uses 256-512MB */
}
/* Geforce6 highend */
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"6800"
))
{
gl_info
->
gl_card
=
CARD_NVIDIA_GEFORCE_6800
;
vidmem
=
128
;
/* The 6800 uses 128-256MB, the 7600 uses 256-512MB */
...
...
include/wine/wined3d_gl.h
View file @
28170c14
...
...
@@ -3102,6 +3102,8 @@ typedef enum _GL_Cards {
CARD_NVIDIA_GEFORCE_6200
=
0x014f
,
CARD_NVIDIA_GEFORCE_6600GT
=
0x0140
,
CARD_NVIDIA_GEFORCE_6800
=
0x0041
,
CARD_NVIDIA_GEFORCE_7400
=
0x01d8
,
CARD_NVIDIA_GEFORCE_7600
=
0x0391
,
CARD_NVIDIA_GEFORCE_7800GT
=
0x0092
,
CARD_NVIDIA_GEFORCE_8300GS
=
0x0423
,
CARD_NVIDIA_GEFORCE_8600GT
=
0x0402
,
...
...
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