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
31f8a525
Commit
31f8a525
authored
Oct 27, 2011
by
Austin English
Committed by
Alexandre Julliard
Oct 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Only declare X11DRV_DIB_QueryXShm if XShm is supported.
parent
abfb9211
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
dib.c
dlls/winex11.drv/dib.c
+1
-3
No files found.
dlls/winex11.drv/dib.c
View file @
31f8a525
...
...
@@ -3849,7 +3849,6 @@ static XImage *X11DRV_XShmCreateImage( int width, int height, int bpp,
}
return
image
;
}
#endif
/* HAVE_LIBXXSHM */
static
Bool
X11DRV_DIB_QueryXShm
(
Bool
*
pixmaps
)
{
...
...
@@ -3858,17 +3857,16 @@ static Bool X11DRV_DIB_QueryXShm( Bool *pixmaps )
if
(
!
initialized
)
{
#ifdef HAVE_LIBXXSHM
int
major
,
minor
;
have_xshm
=
XShmQueryVersion
(
gdi_display
,
&
major
,
&
minor
,
&
have_xshm_pixmaps
);
#endif
initialized
=
TRUE
;
}
*
pixmaps
=
have_xshm_pixmaps
;
return
have_xshm
;
}
#endif
/* HAVE_LIBXXSHM */
/***********************************************************************
* X11DRV_CreateDIBSection (X11DRV.@)
...
...
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