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
e600f7d0
Commit
e600f7d0
authored
Apr 08, 2007
by
Felix Nawothnig
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Issue an error when the render target is read back without SFLAG_INDRAWABLE being set.
parent
2d0016c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
surface.c
dlls/wined3d/surface.c
+8
-1
No files found.
dlls/wined3d/surface.c
View file @
e600f7d0
...
...
@@ -1788,6 +1788,7 @@ static BOOL palette9_changed(IWineD3DSurfaceImpl *This) {
static
HRESULT
WINAPI
IWineD3DSurfaceImpl_LoadTexture
(
IWineD3DSurface
*
iface
)
{
IWineD3DSurfaceImpl
*
This
=
(
IWineD3DSurfaceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
device
=
This
->
resource
.
wineD3DDevice
;
GLenum
format
,
internal
,
type
;
CONVERT_TYPES
convert
;
int
bpp
;
...
...
@@ -1862,7 +1863,13 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LoadTexture(IWineD3DSurface *iface) {
TRACE
(
"Updated target %d
\n
"
,
This
->
glDescription
.
target
);
}
return
WINED3D_OK
;
}
}
else
/* The only place where LoadTexture() might get called when isInDraw=1
* is ActivateContext where lastActiveRenderTarget is preloaded.
*/
if
(
iface
==
device
->
lastActiveRenderTarget
&&
device
->
isInDraw
)
ERR
(
"Reading back render target but SFLAG_INDRAWABLE not set
\n
"
);
/* Otherwise: System memory copy must be most up to date */
if
(
This
->
CKeyFlags
&
DDSD_CKSRCBLT
)
{
...
...
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