mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 06:08:02 +02:00
xlib: Remove obsolete comment, there is no race anymore
The display lock is now held for the duration of the screen creation, so there is no race. Remove the false comment.
This commit is contained in:
parent
62346c500a
commit
9e0b716ecf
1 changed files with 0 additions and 4 deletions
|
|
@ -366,10 +366,6 @@ _cairo_xlib_screen_get (Display *dpy,
|
|||
(XRenderFindVisualFormat (dpy, DefaultVisual (dpy, DefaultScreen (dpy))) != 0);
|
||||
}
|
||||
|
||||
/* Small window of opportunity for two screen infos for the same
|
||||
* Screen - just wastes a little bit of memory but should not cause
|
||||
* any corruption.
|
||||
*/
|
||||
_cairo_xlib_display_add_screen (display, info);
|
||||
|
||||
*out = info;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue