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
5dcbc405
Commit
5dcbc405
authored
Jun 25, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make sure we have an active GL context in context_resource_released().
parent
94cd8656
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
context.c
dlls/wined3d/context.c
+4
-0
No files found.
dlls/wined3d/context.c
View file @
5dcbc405
...
@@ -472,6 +472,10 @@ void context_resource_released(IWineD3DDevice *iface, IWineD3DResource *resource
...
@@ -472,6 +472,10 @@ void context_resource_released(IWineD3DDevice *iface, IWineD3DResource *resource
This
->
lastActiveRenderTarget
=
(
IWineD3DSurface
*
)
0xdeadcafe
;
This
->
lastActiveRenderTarget
=
(
IWineD3DSurface
*
)
0xdeadcafe
;
}
}
}
}
else
if
(
This
->
d3d_initialized
)
{
ActivateContext
(
This
,
This
->
lastActiveRenderTarget
,
CTXUSAGE_RESOURCELOAD
);
}
for
(
i
=
0
;
i
<
This
->
numContexts
;
++
i
)
for
(
i
=
0
;
i
<
This
->
numContexts
;
++
i
)
{
{
...
...
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