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
6ab3d171
Commit
6ab3d171
authored
Jun 12, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove a broken AddDirtyRect call.
parent
95039659
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
surface.c
dlls/wined3d/surface.c
+10
-1
No files found.
dlls/wined3d/surface.c
View file @
6ab3d171
...
...
@@ -628,7 +628,16 @@ void WINAPI IWineD3DSurfaceImpl_SetGlTextureDesc(IWineD3DSurface *iface, UINT te
TRACE
(
"(%p) : setting textureName %u, target %i
\n
"
,
This
,
textureName
,
target
);
if
(
This
->
glDescription
.
textureName
==
0
&&
textureName
!=
0
)
{
IWineD3DSurface_ModifyLocation
(
iface
,
SFLAG_INTEXTURE
,
FALSE
);
IWineD3DSurface_AddDirtyRect
(
iface
,
NULL
);
if
((
This
->
Flags
&
SFLAG_LOCATIONS
)
==
0
)
{
/* In 1.0-rc4 and earlier, AddDirtyRect was called in the place of this if condition.
* This had the problem that a correctly set INDRAWABLE flag was removed if the PreLoad
* during the offscreen rendering readback triggered the creation of the GL texture.
* The change intended to keep the INDRAWABLE intact. To prevent unintended side effects
* before release, set the INSYSMEM flag like the old AddDirtyRect did.
*/
WARN
(
"Wine 1.0 safety path hit
\n
"
);
This
->
Flags
|=
SFLAG_INSYSMEM
;
}
}
if
(
target
==
GL_TEXTURE_RECTANGLE_ARB
&&
This
->
glDescription
.
target
!=
target
)
{
This
->
Flags
&=
~
SFLAG_NORMCOORD
;
...
...
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