Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
af6636c2
Commit
af6636c2
authored
Oct 08, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't do GL calls without a context.
parent
3b2ac77e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
context.c
dlls/wined3d/context.c
+2
-1
No files found.
dlls/wined3d/context.c
View file @
af6636c2
...
...
@@ -1493,12 +1493,13 @@ void ActivateContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target, ContextU
else
{
TRACE
(
"Switching gl ctx to %p, hdc=%p ctx=%p
\n
"
,
context
,
context
->
hdc
,
context
->
glCtx
);
This
->
frag_pipe
->
enable_extension
((
IWineD3DDevice
*
)
This
,
FALSE
);
ret
=
pwglMakeCurrent
(
context
->
hdc
,
context
->
glCtx
);
if
(
ret
==
FALSE
)
{
ERR
(
"Failed to activate the new context
\n
"
);
}
else
if
(
!
context
->
last_was_blit
)
{
This
->
frag_pipe
->
enable_extension
((
IWineD3DDevice
*
)
This
,
TRUE
);
}
else
{
This
->
frag_pipe
->
enable_extension
((
IWineD3DDevice
*
)
This
,
FALSE
);
}
}
if
(
This
->
activeContext
->
vshader_const_dirty
)
{
...
...
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