*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
gdk_pixbuf_xlib_init (dpy, DefaultScreen (dpy));
xlib_rgb_init (dpy, DefaultScreenOfDisplay (dpy));
initted = 1;
}
pb = (filename
gdk_pixbuf_xlib_init (dpy, DefaultScreen (dpy));
xlib_rgb_init (dpy, DefaultScreenOfDisplay (dpy));
initted = 1;
}
pb = (filename
fprintf (stderr, "%s: unable to load %s\n", progname, filename);
fprintf (stderr, "%s: unable to load %s\n", progname, filename);
- fprintf(stderr, "%s: bogus color table? ($d)\n", progname, i);
+ fprintf(stderr, "%s: bogus color table? (%d)\n", progname, i);
things as necessary) OpenGL pretends everything is client-side, so
we need to pack things in the right order for the client machine.
*/
things as necessary) OpenGL pretends everything is client-side, so
we need to pack things in the right order for the client machine.
*/
if (bigendian())
rpos = 24, gpos = 16, bpos = 8, apos = 0;
else
if (bigendian())
rpos = 24, gpos = 16, bpos = 8, apos = 0;
else
rpos = 0, gpos = 8, bpos = 16, apos = 24;
for (y = 0; y < xpm_image.height; y++)
rpos = 0, gpos = 8, bpos = 16, apos = 24;
for (y = 0; y < xpm_image.height; y++)