1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-12 11:45:55 +01:00

memory stats in info panel

This commit is contained in:
kojima
2000-04-09 23:55:46 +00:00
parent c08022a088
commit 9aa1d138a6
19 changed files with 45 additions and 23 deletions

View File

@@ -179,7 +179,8 @@ convertTrueColor_generic(RXImage *ximg, RImage *image,
int rer, ger, ber;
unsigned char *ptr = image->data;
int channels = image->format == RRGBAFormat ? 4 : 3;
/* convert and dither the image to XImage */
for (y=0; y<image->height; y++) {
nerr[0] = 0;