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
bdfab8cd
Commit
bdfab8cd
authored
Feb 11, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Ignore color key and exposures when using the null surface.
parent
a3b85a5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bitblt.c
dlls/winex11.drv/bitblt.c
+4
-0
No files found.
dlls/winex11.drv/bitblt.c
View file @
bdfab8cd
...
...
@@ -2059,6 +2059,8 @@ void set_surface_color_key( struct window_surface *window_surface, COLORREF colo
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
COLORREF
prev
;
if
(
window_surface
->
funcs
!=
&
x11drv_surface_funcs
)
return
;
/* we may get the null surface */
window_surface
->
funcs
->
lock
(
window_surface
);
prev
=
surface
->
color_key
;
set_color_key
(
surface
,
color_key
);
...
...
@@ -2074,6 +2076,8 @@ HRGN expose_surface( struct window_surface *window_surface, const RECT *rect )
struct
x11drv_window_surface
*
surface
=
get_x11_surface
(
window_surface
);
HRGN
region
=
0
;
if
(
window_surface
->
funcs
!=
&
x11drv_surface_funcs
)
return
0
;
/* we may get the null surface */
window_surface
->
funcs
->
lock
(
window_surface
);
add_bounds_rect
(
&
surface
->
bounds
,
rect
);
if
(
surface
->
region
)
...
...
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