1344 |
for (i = 0; i < visuals_count; ++i) |
for (i = 0; i < visuals_count; ++i) |
1345 |
{ |
{ |
1346 |
XVisualInfo *visual_info = &vmatches[i]; |
XVisualInfo *visual_info = &vmatches[i]; |
1347 |
|
BOOL can_translate_to_bpp = False; |
1348 |
|
int j; |
1349 |
|
|
1350 |
/* Try to find a no-translation visual that'll |
/* Try to find a no-translation visual that'll |
1351 |
allow us to use RDP bitmaps directly as ZPixmaps. */ |
allow us to use RDP bitmaps directly as ZPixmaps. */ |
1389 |
|
|
1390 |
/* Only care for visuals, for whose BPPs (not depths!) |
/* Only care for visuals, for whose BPPs (not depths!) |
1391 |
we have a translateXtoY function. */ |
we have a translateXtoY function. */ |
|
BOOL can_translate_to_bpp = False; |
|
|
int j; |
|
1392 |
for (j = 0; j < pixmap_formats_count; ++j) |
for (j = 0; j < pixmap_formats_count; ++j) |
1393 |
{ |
{ |
1394 |
if (pfm[j].depth == visual_info->depth) |
if (pfm[j].depth == visual_info->depth) |