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
6001575f
Commit
6001575f
authored
Jun 19, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass a wined3d_context_gl structure to draw_indirect().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
faa7564d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
context.c
dlls/wined3d/context.c
+3
-3
No files found.
dlls/wined3d/context.c
View file @
6001575f
...
...
@@ -4709,10 +4709,10 @@ static void draw_primitive_immediate_mode(struct wined3d_context_gl *context_gl,
checkGLcall
(
"draw immediate mode"
);
}
static
void
draw_indirect
(
struct
wined3d_context
*
context
,
const
struct
wined3d_state
*
state
,
static
void
wined3d_context_gl_draw_indirect
(
struct
wined3d_context_gl
*
context_gl
,
const
struct
wined3d_state
*
state
,
const
struct
wined3d_indirect_draw_parameters
*
parameters
,
unsigned
int
idx_size
)
{
const
struct
wined3d_gl_info
*
gl_info
=
context
->
gl_info
;
const
struct
wined3d_gl_info
*
gl_info
=
context
_gl
->
c
.
gl_info
;
struct
wined3d_buffer
*
buffer
=
parameters
->
buffer
;
const
void
*
offset
;
...
...
@@ -4977,7 +4977,7 @@ void draw_primitive(struct wined3d_device *device, const struct wined3d_state *s
if
(
parameters
->
indirect
)
{
if
(
!
context
->
use_immediate_mode_draw
&&
!
emulation
)
draw_indirect
(
context
,
state
,
&
parameters
->
u
.
indirect
,
idx_size
);
wined3d_context_gl_draw_indirect
(
context_gl
,
state
,
&
parameters
->
u
.
indirect
,
idx_size
);
else
FIXME
(
"Indirect draws with immediate mode/emulation are not supported.
\n
"
);
}
...
...
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