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
cce62569
Commit
cce62569
authored
May 14, 2009
by
Robert Key
Committed by
Alexandre Julliard
May 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix ATI HD4800 being reported as ATI 9500.
parent
c315d75d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
directx.c
dlls/wined3d/directx.c
+14
-3
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
cce62569
...
...
@@ -1272,10 +1272,20 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
break
;
case
VENDOR_ATI
:
if
(
WINE_D3D9_CAPABLE
(
gl_info
))
{
/* Radeon R7xx HD4800 - highend */
if
(
strstr
(
gl_info
->
gl_renderer
,
"HD 4800"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 4830"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 4850"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 4870"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 4890"
))
{
gl_info
->
gl_card
=
CARD_ATI_RADEON_HD4800
;
vidmem
=
512
;
/* HD4800 cards use 512-1024MB, up to 2048MB for X2 version */
}
/* Radeon R6xx HD2900/HD3800 - highend */
if
(
strstr
(
gl_info
->
gl_renderer
,
"HD 2900"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 3870"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 3850"
))
else
if
(
strstr
(
gl_info
->
gl_renderer
,
"HD 2900"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 3870"
)
||
strstr
(
gl_info
->
gl_renderer
,
"HD 3850"
))
{
gl_info
->
gl_card
=
CARD_ATI_RADEON_HD2900
;
vidmem
=
512
;
/* HD2900/HD3800 uses 256-1024MB */
...
...
@@ -4008,6 +4018,7 @@ static const struct driver_version_information driver_version_table[] = {
{
VENDOR_ATI
,
CARD_ATI_RADEON_HD2300
,
"ATI Mobility Radeon HD 2300"
,
6
,
14
,
10
,
6764
},
{
VENDOR_ATI
,
CARD_ATI_RADEON_HD2600
,
"ATI Mobility Radeon HD 2600"
,
6
,
14
,
10
,
6764
},
{
VENDOR_ATI
,
CARD_ATI_RADEON_HD2900
,
"ATI Radeon HD 2900 XT"
,
6
,
14
,
10
,
6764
},
{
VENDOR_ATI
,
CARD_ATI_RADEON_HD4800
,
"ATI Radeon HD 4800 Series"
,
6
,
14
,
10
,
6764
},
/* TODO: Add information about legacy ATI hardware, Intel and other cards */
};
...
...
dlls/wined3d/wined3d_gl.h
View file @
cce62569
...
...
@@ -3302,6 +3302,7 @@ typedef enum _GL_Cards {
CARD_ATI_RADEON_HD2600
=
0x9581
,
CARD_ATI_RADEON_HD2900
=
0x9400
,
CARD_ATI_RADEON_HD3200
=
0x9620
,
CARD_ATI_RADEON_HD4800
=
0x944c
,
CARD_NVIDIA_RIVA_128
=
0x0018
,
CARD_NVIDIA_RIVA_TNT
=
0x0020
,
...
...
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