summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsapountzis@gmail.com>2010-03-20 01:51:00 +0200
committerGeorge Sapountzis <gsapountzis@gmail.com>2010-03-21 13:21:45 +0200
commit2b5a6e083c1e6e45757a2192721d8675309835c1 (patch)
tree8f3cbd48608fd142b7d345d9b9190434537888c1 /src/glx
parent2d1641b1917309d6397a6c9c773b801eb83838f8 (diff)
glx: minor cosmetic
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/drisw_glx.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 93826bc682..3db2d63f1f 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -85,11 +85,14 @@ XCreateDrawable(__GLXDRIdrawablePrivate * pdp,
visMask = (VisualScreenMask | VisualIDMask);
pdp->visinfo = XGetVisualInfo(dpy, visMask, &visTemp, &num_visuals);
- pdp->ximage = XCreateImage(dpy, pdp->visinfo->visual, pdp->visinfo->depth, ZPixmap, 0, /* format, offset */
- NULL, /* data */
- 0, 0, /* size */
- 32, /* bitmap_pad */
- 0); /* bytes_per_line */
+ pdp->ximage = XCreateImage(dpy,
+ pdp->visinfo->visual,
+ pdp->visinfo->depth,
+ ZPixmap, 0, /* format, offset */
+ NULL, /* data */
+ 0, 0, /* size */
+ 32, /* bitmap_pad */
+ 0); /* bytes_per_line */
/* get the true number of bits per pixel */
pdp->bpp = pdp->ximage->bits_per_pixel;