mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 06:10:11 +01:00
small fix towards new glitz interface
This commit is contained in:
parent
2af7e94eab
commit
f3ae42c0fd
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ xglInitPixmapFormats (ScreenPtr pScreen)
|
|||
do {
|
||||
format = glitz_find_format (pScreenPriv->drawable,
|
||||
0, NULL, k++);
|
||||
if (format && format->type == GLITZ_FORMAT_TYPE_COLOR)
|
||||
if (format && format->color.fourcc == GLITZ_FOURCC_RGB)
|
||||
{
|
||||
/* find best matching sufficient format */
|
||||
if (format->color.red_size >= rs &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue