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
aa420ced
Commit
aa420ced
authored
Mar 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass gl_info to volume_bind_and_dirtify().
parent
a46e0c61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
volume.c
dlls/wined3d/volume.c
+2
-3
No files found.
dlls/wined3d/volume.c
View file @
aa420ced
...
...
@@ -27,9 +27,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d_surface
);
/* Context activation is done by the caller. */
static
void
volume_bind_and_dirtify
(
struct
IWineD3DVolumeImpl
*
volume
)
static
void
volume_bind_and_dirtify
(
struct
IWineD3DVolumeImpl
*
volume
,
const
struct
wined3d_gl_info
*
gl_info
)
{
const
struct
wined3d_gl_info
*
gl_info
=
&
volume
->
resource
.
device
->
adapter
->
gl_info
;
IWineD3DBaseTextureImpl
*
container
=
(
IWineD3DBaseTextureImpl
*
)
volume
->
container
;
DWORD
active_sampler
;
...
...
@@ -102,7 +101,7 @@ void volume_load(IWineD3DVolumeImpl *volume, UINT level, BOOL srgb_mode)
TRACE
(
"volume %p, level %u, srgb %#x, format %s (%#x).
\n
"
,
volume
,
level
,
srgb_mode
,
debug_d3dformat
(
format
->
id
),
format
->
id
);
volume_bind_and_dirtify
(
volume
);
volume_bind_and_dirtify
(
volume
,
gl_info
);
ENTER_GL
();
GL_EXTCALL
(
glTexImage3DEXT
(
GL_TEXTURE_3D
,
level
,
format
->
glInternal
,
...
...
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