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
46ef2e06
Commit
46ef2e06
authored
May 22, 2008
by
Jens Albretsen
Committed by
Alexandre Julliard
May 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: IDirect3DTextureImpl_Load failed when texture was loading onto itself.
parent
751b55f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
texture.c
dlls/ddraw/texture.c
+5
-0
No files found.
dlls/ddraw/texture.c
View file @
46ef2e06
...
...
@@ -301,6 +301,11 @@ IDirect3DTextureImpl_Load(IDirect3DTexture2 *iface,
ICOM_THIS_FROM
(
IDirectDrawSurfaceImpl
,
IDirect3DTexture2
,
iface
);
IDirectDrawSurfaceImpl
*
src_ptr
=
ICOM_OBJECT
(
IDirectDrawSurfaceImpl
,
IDirect3DTexture2
,
D3DTexture2
);
HRESULT
ret_value
=
D3D_OK
;
if
(
src_ptr
==
This
)
{
TRACE
(
" copying surface %p to surface %p, why?
\n
"
,
src_ptr
,
This
);
return
ret_value
;
}
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
src_ptr
);
EnterCriticalSection
(
&
ddraw_cs
);
...
...
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