aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-09-05 23:28:18 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:37:36 +0100
commitf469ac534f917b9c9cc32e8a66c253dc39418f9f (patch)
treea899864db87e3ac6bbb0eede251fbab5a87c8178
parente74eb76525630c5c6455880c2149b7db2355216d (diff)
downloadnx-libs-f469ac534f917b9c9cc32e8a66c253dc39418f9f.tar.gz
nx-libs-f469ac534f917b9c9cc32e8a66c253dc39418f9f.tar.bz2
nx-libs-f469ac534f917b9c9cc32e8a66c253dc39418f9f.zip
Image.c: reformat comments
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Image.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Image.c b/nx-X11/programs/Xserver/hw/nxagent/Image.c
index 890706ba5..dcd7c49c0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Image.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Image.c
@@ -100,8 +100,8 @@ extern void nxagentTwoByteSwap(unsigned char *, register int);
extern void nxagentFourByteSwap(register unsigned char *, register int);
/*
- * Store the last visual used to unpack
- * the images for the given client.
+ * Store the last visual used to unpack the images for the given
+ * client.
*/
static VisualID nxagentUnpackVisualId[MAX_CONNECTIONS];
@@ -114,7 +114,6 @@ typedef struct _UnpackAlpha
{
char *data;
int size;
-
} UnpackAlphaRec;
typedef UnpackAlphaRec *UnpackAlphaPtr;
@@ -688,14 +687,12 @@ FIXME: Temporarily stream the GLX data.
if (split == 1 && (nxagentSplitTrap == 1 || depth < 15))
{
#ifdef TEST
-
if (nxagentSplitTrap == 1 ||
nxagentReconnectTrap == 1)
{
fprintf(stderr, "nxagentPutImage: Not splitting with reconnection [%d] trap [%d] "
"depth [%d].\n", nxagentSplitTrap, nxagentReconnectTrap, depth);
}
-
#endif
split = 0;
@@ -722,7 +719,6 @@ FIXME: Temporarily stream the GLX data.
"link [%d] GLX [%d] Xv [%d].\n", length, nxagentOption(LinkType),
nxagentGlxTrap, nxagentXvTrap);
}
-
#endif
/*
@@ -831,9 +827,8 @@ FIXME: Should probably intersect the region with the region being
}
/*
- * The split value could be changed by a
- * no-split event in the block above, so
- * here we have to check the value again.
+ * The split value could be changed by a no-split event in the block
+ * above, so here we have to check the value again.
*/
if (split == 0)
@@ -910,8 +905,7 @@ void nxagentRealizeImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
}
/*
- * Get the visual according to the
- * drawable and depth.
+ * Get the visual according to the drawable and depth.
*/
pVisual = nxagentImageVisual(pDrawable, depth);