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
86af42a4
Commit
86af42a4
authored
Aug 24, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass a gl_info pointer to select_fragment_implementation().
parent
f65a1ed2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
directx.c
dlls/wined3d/directx.c
+2
-3
No files found.
dlls/wined3d/directx.c
View file @
86af42a4
...
...
@@ -2138,9 +2138,8 @@ static enum wined3d_pci_device wined3d_guess_card(const struct wined3d_gl_info *
return
CARD_NVIDIA_RIVA_128
;
}
static
const
struct
fragment_pipeline
*
select_fragment_implementation
(
struct
wined3d_adapter
*
adapter
)
static
const
struct
fragment_pipeline
*
select_fragment_implementation
(
const
struct
wined3d_gl_info
*
gl_info
)
{
const
struct
wined3d_gl_info
*
gl_info
=
&
adapter
->
gl_info
;
int
vs_selected_mode
,
ps_selected_mode
;
select_shader_mode
(
gl_info
,
&
ps_selected_mode
,
&
vs_selected_mode
);
...
...
@@ -2599,7 +2598,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter)
LEAVE_GL
();
adapter
->
fragment_pipe
=
select_fragment_implementation
(
adapter
);
adapter
->
fragment_pipe
=
select_fragment_implementation
(
gl_info
);
adapter
->
shader_backend
=
select_shader_backend
(
adapter
);
adapter
->
blitter
=
select_blit_implementation
(
adapter
);
...
...
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