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
54e1aeeb
Commit
54e1aeeb
authored
Jan 02, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DBaseTextureImpl pointer to basetexture_get_lod().
parent
482a5fd0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
9 deletions
+7
-9
basetexture.c
dlls/wined3d/basetexture.c
+3
-5
cubetexture.c
dlls/wined3d/cubetexture.c
+1
-1
texture.c
dlls/wined3d/texture.c
+1
-1
volumetexture.c
dlls/wined3d/volumetexture.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/basetexture.c
View file @
54e1aeeb
...
...
@@ -157,13 +157,11 @@ DWORD basetexture_set_lod(IWineD3DBaseTextureImpl *texture, DWORD lod)
return
old
;
}
DWORD
basetexture_get_lod
(
IWineD3DBaseTexture
*
ifac
e
)
DWORD
basetexture_get_lod
(
IWineD3DBaseTexture
Impl
*
textur
e
)
{
IWineD3DBaseTextureImpl
*
This
=
(
IWineD3DBaseTextureImpl
*
)
iface
;
TRACE
(
"(%p) : returning %d
\n
"
,
This
,
This
->
baseTexture
.
LOD
);
TRACE
(
"texture %p, returning %u.
\n
"
,
texture
,
texture
->
baseTexture
.
LOD
);
return
This
->
baseTexture
.
LOD
;
return
texture
->
baseTexture
.
LOD
;
}
DWORD
basetexture_get_level_count
(
IWineD3DBaseTextureImpl
*
texture
)
...
...
dlls/wined3d/cubetexture.c
View file @
54e1aeeb
...
...
@@ -251,7 +251,7 @@ static DWORD WINAPI IWineD3DCubeTextureImpl_SetLOD(IWineD3DCubeTexture *iface, D
}
static
DWORD
WINAPI
IWineD3DCubeTextureImpl_GetLOD
(
IWineD3DCubeTexture
*
iface
)
{
return
basetexture_get_lod
((
IWineD3DBaseTexture
*
)
iface
);
return
basetexture_get_lod
((
IWineD3DBaseTexture
Impl
*
)
iface
);
}
static
DWORD
WINAPI
IWineD3DCubeTextureImpl_GetLevelCount
(
IWineD3DCubeTexture
*
iface
)
...
...
dlls/wined3d/texture.c
View file @
54e1aeeb
...
...
@@ -242,7 +242,7 @@ static DWORD WINAPI IWineD3DTextureImpl_SetLOD(IWineD3DTexture *iface, DWORD LOD
}
static
DWORD
WINAPI
IWineD3DTextureImpl_GetLOD
(
IWineD3DTexture
*
iface
)
{
return
basetexture_get_lod
((
IWineD3DBaseTexture
*
)
iface
);
return
basetexture_get_lod
((
IWineD3DBaseTexture
Impl
*
)
iface
);
}
static
DWORD
WINAPI
IWineD3DTextureImpl_GetLevelCount
(
IWineD3DTexture
*
iface
)
...
...
dlls/wined3d/volumetexture.c
View file @
54e1aeeb
...
...
@@ -206,7 +206,7 @@ static DWORD WINAPI IWineD3DVolumeTextureImpl_SetLOD(IWineD3DVolumeTexture *ifac
}
static
DWORD
WINAPI
IWineD3DVolumeTextureImpl_GetLOD
(
IWineD3DVolumeTexture
*
iface
)
{
return
basetexture_get_lod
((
IWineD3DBaseTexture
*
)
iface
);
return
basetexture_get_lod
((
IWineD3DBaseTexture
Impl
*
)
iface
);
}
static
DWORD
WINAPI
IWineD3DVolumeTextureImpl_GetLevelCount
(
IWineD3DVolumeTexture
*
iface
)
...
...
dlls/wined3d/wined3d_private.h
View file @
54e1aeeb
...
...
@@ -1917,7 +1917,7 @@ void basetexture_cleanup(IWineD3DBaseTextureImpl *texture) DECLSPEC_HIDDEN;
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
WINED3DTEXTUREFILTERTYPE
basetexture_get_autogen_filter_type
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_level_count
(
IWineD3DBaseTextureImpl
*
texture
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_lod
(
IWineD3DBaseTexture
*
ifac
e
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_lod
(
IWineD3DBaseTexture
Impl
*
textur
e
)
DECLSPEC_HIDDEN
;
IWineD3DResourceImpl
*
basetexture_get_sub_resource
(
IWineD3DBaseTextureImpl
*
texture
,
UINT
sub_resource_idx
)
DECLSPEC_HIDDEN
;
HRESULT
basetexture_init
(
IWineD3DBaseTextureImpl
*
texture
,
UINT
layer_count
,
UINT
level_count
,
...
...
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