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
6bf79b88
Commit
6bf79b88
authored
Dec 13, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Let the context handle the draw buffer in swapchain_blit().
parent
82556b61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
swapchain.c
dlls/wined3d/swapchain.c
+2
-2
No files found.
dlls/wined3d/swapchain.c
View file @
6bf79b88
...
...
@@ -118,7 +118,7 @@ static inline void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_co
context_attach_depth_stencil_fbo
(
context
,
GL_READ_FRAMEBUFFER
,
NULL
,
FALSE
);
context_bind_fbo
(
context
,
GL_DRAW_FRAMEBUFFER
,
NULL
);
glDrawBuffer
(
GL_BACK
);
context_set_draw_buffer
(
context
,
GL_BACK
);
glDisable
(
GL_SCISSOR_TEST
);
IWineD3DDeviceImpl_MarkStateDirty
(
This
->
device
,
STATE_RENDER
(
WINED3DRS_SCISSORTESTENABLE
));
...
...
@@ -160,7 +160,7 @@ static inline void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_co
glTexParameteri
(
backbuffer
->
texture_target
,
GL_TEXTURE_MIN_FILTER
,
GL_LINEAR
);
glTexParameteri
(
backbuffer
->
texture_target
,
GL_TEXTURE_MAG_FILTER
,
GL_LINEAR
);
glDrawBuffer
(
GL_BACK
);
context_set_draw_buffer
(
context
,
GL_BACK
);
/* Set the viewport to the destination rectandle, disable any projection
* transformation set up by CTXUSAGE_BLIT, and draw a (-1,-1)-(1,1) quad.
...
...
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