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
602486bd
Commit
602486bd
authored
Sep 16, 2010
by
Lauri Kenttä
Committed by
Alexandre Julliard
Sep 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use the same card selection for both Intel Mesa and binary drivers.
parent
84dccd92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
directx.c
dlls/wined3d/directx.c
+4
-11
No files found.
dlls/wined3d/directx.c
View file @
602486bd
...
...
@@ -1826,7 +1826,7 @@ static enum wined3d_pci_device select_card_ati_binary(const struct wined3d_gl_in
return
CARD_ATI_RAGE_128PRO
;
}
static
enum
wined3d_pci_device
select_card_intel
_binary
(
const
struct
wined3d_gl_info
*
gl_info
,
static
enum
wined3d_pci_device
select_card_intel
(
const
struct
wined3d_gl_info
*
gl_info
,
const
char
*
gl_renderer
)
{
if
(
strstr
(
gl_renderer
,
"X3100"
))
...
...
@@ -2046,13 +2046,6 @@ static enum wined3d_pci_device select_card_nvidia_mesa(const struct wined3d_gl_i
return
CARD_NVIDIA_RIVA_128
;
}
static
enum
wined3d_pci_device
select_card_intel_mesa
(
const
struct
wined3d_gl_info
*
gl_info
,
const
char
*
gl_renderer
)
{
FIXME_
(
d3d_caps
)(
"Card selection not handled for Mesa Intel driver
\n
"
);
return
CARD_INTEL_I915G
;
}
struct
vendor_card_selection
{
...
...
@@ -2067,12 +2060,12 @@ static const struct vendor_card_selection vendor_card_select_table[] =
{
GL_VENDOR_NVIDIA
,
HW_VENDOR_NVIDIA
,
"Nvidia binary driver"
,
select_card_nvidia_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_NVIDIA
,
"Apple OSX NVidia binary driver"
,
select_card_nvidia_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_ATI
,
"Apple OSX AMD/ATI binary driver"
,
select_card_ati_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_INTEL
,
"Apple OSX Intel binary driver"
,
select_card_intel
_binary
},
{
GL_VENDOR_APPLE
,
HW_VENDOR_INTEL
,
"Apple OSX Intel binary driver"
,
select_card_intel
},
{
GL_VENDOR_FGLRX
,
HW_VENDOR_ATI
,
"AMD/ATI binary driver"
,
select_card_ati_binary
},
{
GL_VENDOR_MESA
,
HW_VENDOR_ATI
,
"Mesa AMD/ATI driver"
,
select_card_ati_mesa
},
{
GL_VENDOR_MESA
,
HW_VENDOR_NVIDIA
,
"Mesa Nouveau driver"
,
select_card_nvidia_mesa
},
{
GL_VENDOR_MESA
,
HW_VENDOR_INTEL
,
"Mesa Intel driver"
,
select_card_intel
_mesa
},
{
GL_VENDOR_INTEL
,
HW_VENDOR_INTEL
,
"Mesa Intel driver"
,
select_card_intel
_mesa
}
{
GL_VENDOR_MESA
,
HW_VENDOR_INTEL
,
"Mesa Intel driver"
,
select_card_intel
},
{
GL_VENDOR_INTEL
,
HW_VENDOR_INTEL
,
"Mesa Intel driver"
,
select_card_intel
}
};
...
...
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