1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-06 16:25:50 +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

@@ -57,7 +57,7 @@ x86_specific.o: x86_specific.c
INCLUDES = @HEADER_SEARCH_PATH@
INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@
LIBLIST = $(top_builddir)/wrlib/libwraster.la @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ -lm

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;