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:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user