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
49c68247
Commit
49c68247
authored
Mar 16, 2008
by
Cihan Altinay
Committed by
Alexandre Julliard
Mar 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fix refcounting of palettes.
parent
58801f0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
texture.c
dlls/ddraw/texture.c
+2
-2
No files found.
dlls/ddraw/texture.c
View file @
49c68247
...
...
@@ -300,8 +300,6 @@ IDirect3DTextureImpl_Load(IDirect3DTexture2 *iface,
{
ICOM_THIS_FROM
(
IDirectDrawSurfaceImpl
,
IDirect3DTexture2
,
iface
);
IDirectDrawSurfaceImpl
*
src_ptr
=
ICOM_OBJECT
(
IDirectDrawSurfaceImpl
,
IDirect3DTexture2
,
D3DTexture2
);
IWineD3DPalette
*
wine_pal
,
*
wine_pal_src
;
IDirectDrawPalette
*
pal
=
NULL
,
*
pal_src
=
NULL
;
HRESULT
ret_value
=
D3D_OK
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
src_ptr
);
...
...
@@ -315,6 +313,8 @@ IDirect3DTextureImpl_Load(IDirect3DTexture2 *iface,
while
(
1
)
{
IWineD3DPalette
*
wine_pal
,
*
wine_pal_src
;
IDirectDrawPalette
*
pal
=
NULL
,
*
pal_src
=
NULL
;
DDSURFACEDESC
*
src_d
,
*
dst_d
;
TRACE
(
" copying surface %p to surface %p (mipmap level %d)
\n
"
,
src_ptr
,
This
,
src_ptr
->
mipmap_level
);
...
...
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