If we are looking for an existing pixmap format, we do not need the
same bitsperpixel (fixes depth 15/bitspixel 16 mode).

diff --git a/dlls/ddraw/ddraw/x11.c b/dlls/ddraw/ddraw/x11.c
index e01126a..00a2fed 100644
--- a/dlls/ddraw/ddraw/x11.c
+++ b/dlls/ddraw/ddraw/x11.c
@@ -55,7 +55,7 @@
   pf = TSXListPixmapFormats(display, &npixmap);
 
   for (i = 0; i < npixmap; i++) {
-    if ((pf[i].depth == depth) && (pf[i].bits_per_pixel == depth)) {
+    if (pf[i].depth == depth) {
       int j;
 
       for (j = 0; j < nvisuals; j++) {