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
7c388168
Commit
7c388168
authored
Sep 03, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Sep 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove glDrawBuffer calls in BltOverride.
Handled in ActivateContext, must be remains of pre-context management code.
parent
5c7f2906
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
surface.c
dlls/wined3d/surface.c
+0
-10
No files found.
dlls/wined3d/surface.c
View file @
7c388168
...
...
@@ -3468,9 +3468,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
}
ENTER_GL
();
glDrawBuffer
(
buffer
);
checkGLcall
(
"glDrawBuffer"
);
myDevice
->
blitter
->
set_shader
((
IWineD3DDevice
*
)
myDevice
,
Src
->
resource
.
format
,
Src
->
glDescription
.
target
,
Src
->
pow2Width
,
Src
->
pow2Height
);
...
...
@@ -3543,13 +3540,6 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
/* Leave the opengl state valid for blitting */
myDevice
->
blitter
->
unset_shader
((
IWineD3DDevice
*
)
myDevice
);
/* The draw buffer should only need to be restored if we were drawing to the front buffer, and there is a back buffer.
* otherwise the context manager should choose between GL_BACK / offscreenDrawBuffer
*/
if
(
dstSwapchain
&&
This
==
(
IWineD3DSurfaceImpl
*
)
dstSwapchain
->
frontBuffer
&&
dstSwapchain
->
backBuffer
)
{
glDrawBuffer
(
GL_BACK
);
checkGLcall
(
"glDrawBuffer"
);
}
/* Restore the color key parameters */
Src
->
CKeyFlags
=
oldCKeyFlags
;
Src
->
SrcBltCKey
=
oldBltCKey
;
...
...
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