diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-03-30 00:02:05 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-08 08:23:36 +0200 |
commit | a6d018bef8897ccac1b481e14d94f9436841b21a (patch) | |
tree | ebe3b92a6042e0a6aa3929046eefad6d5ed60ba7 /nx-X11/programs/Xserver/hw/nxagent/Image.c | |
parent | af5cf2659c4cc7c009ed7fa0fbb1a58e210e6453 (diff) | |
download | nx-libs-a6d018bef8897ccac1b481e14d94f9436841b21a.tar.gz nx-libs-a6d018bef8897ccac1b481e14d94f9436841b21a.tar.bz2 nx-libs-a6d018bef8897ccac1b481e14d94f9436841b21a.zip |
nxagent: make nxagentAlpha* Booleans
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Image.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Image.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Image.c b/nx-X11/programs/Xserver/hw/nxagent/Image.c index ad278491e..c033bf70d 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Image.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c @@ -87,8 +87,8 @@ int nxagentSplitThreshold = -1; * Set if images can use the alpha channel. */ -int nxagentAlphaEnabled = 0; -int nxagentAlphaCompat = 0; +Bool nxagentAlphaEnabled = False; +Bool nxagentAlphaCompat = False; /* * Used to reformat image when connecting to displays having different @@ -418,7 +418,7 @@ FIXME: Here the split trap is always set and so the caching of the * send the alpha data in compressed form. */ - if (nxagentAlphaCompat == 0) + if (!nxagentAlphaCompat) { NXSetUnpackAlpha(nxagentDisplay, resource, PACK_NONE, size, data, size); } |