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
b1472d13
Commit
b1472d13
authored
Jun 04, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass a wined3d_context_gl structure to arbfp_blit_set().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d7775121
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-3
No files found.
dlls/wined3d/arb_program_shader.c
View file @
b1472d13
...
...
@@ -7548,11 +7548,10 @@ static GLuint arbfp_gen_plain_shader(const struct wined3d_gl_info *gl_info, cons
}
/* Context activation is done by the caller. */
static
HRESULT
arbfp_blit_set
(
struct
wined3d_arbfp_blitter
*
blitter
,
struct
wined3d_context
*
context
,
static
HRESULT
arbfp_blit_set
(
struct
wined3d_arbfp_blitter
*
blitter
,
struct
wined3d_context
_gl
*
context_gl
,
const
struct
wined3d_texture_gl
*
texture_gl
,
unsigned
int
sub_resource_idx
,
const
struct
wined3d_color_key
*
color_key
)
{
struct
wined3d_context_gl
*
context_gl
=
wined3d_context_gl
(
context
);
const
struct
wined3d_gl_info
*
gl_info
=
context_gl
->
c
.
gl_info
;
enum
complex_fixup
fixup
;
struct
wine_rb_entry
*
entry
;
...
...
@@ -7913,7 +7912,7 @@ static DWORD arbfp_blitter_blit(struct wined3d_blitter *blitter, enum wined3d_bl
color_key
=
&
alpha_test_key
;
}
arbfp_blit_set
(
arbfp_blitter
,
context
,
src_texture_gl
,
src_sub_resource_idx
,
color_key
);
arbfp_blit_set
(
arbfp_blitter
,
context
_gl
,
src_texture_gl
,
src_sub_resource_idx
,
color_key
);
/* Draw a textured quad */
context_draw_textured_quad
(
context
,
src_texture_gl
,
...
...
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