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
1e64bb93
Commit
1e64bb93
authored
Jun 04, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Jun 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a few missing checkGLcall calls.
parent
f69d6fd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
device.c
dlls/wined3d/device.c
+2
-0
surface.c
dlls/wined3d/surface.c
+2
-0
No files found.
dlls/wined3d/device.c
View file @
1e64bb93
...
...
@@ -5591,9 +5591,11 @@ void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, WINED
if
(
flip
)
{
GL_EXTCALL
(
glBlitFramebufferEXT
(
src_rect
->
x1
,
src_rect
->
y1
,
src_rect
->
x2
,
src_rect
->
y2
,
dst_rect
->
x1
,
dst_rect
->
y2
,
dst_rect
->
x2
,
dst_rect
->
y1
,
mask
,
gl_filter
));
checkGLcall
(
"glBlitFramebuffer()"
);
}
else
{
GL_EXTCALL
(
glBlitFramebufferEXT
(
src_rect
->
x1
,
src_rect
->
y1
,
src_rect
->
x2
,
src_rect
->
y2
,
dst_rect
->
x1
,
dst_rect
->
y1
,
dst_rect
->
x2
,
dst_rect
->
y2
,
mask
,
gl_filter
));
checkGLcall
(
"glBlitFramebuffer()"
);
}
if
(
This
->
render_offscreen
)
{
...
...
dlls/wined3d/surface.c
View file @
1e64bb93
...
...
@@ -2943,6 +2943,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
if
(
!
dstSwapchain
)
{
TRACE
(
"Drawing to offscreen buffer
\n
"
);
glDrawBuffer
(
myDevice
->
offscreenBuffer
);
checkGLcall
(
"glDrawBuffer"
);
}
else
{
GLenum
buffer
=
surface_get_gl_buffer
((
IWineD3DSurface
*
)
This
,
(
IWineD3DSwapChain
*
)
dstSwapchain
);
TRACE
(
"Drawing to %#x buffer
\n
"
,
buffer
);
...
...
@@ -3016,6 +3017,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
*/
if
(
dstSwapchain
&&
This
==
(
IWineD3DSurfaceImpl
*
)
dstSwapchain
->
frontBuffer
&&
dstSwapchain
->
backBuffer
)
{
glDrawBuffer
(
GL_BACK
);
checkGLcall
(
"glDrawBuffer"
);
}
/* Restore the color key parameters */
Src
->
CKeyFlags
=
oldCKeyFlags
;
...
...
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