diff options
author | rodri <rgl@antares-labs.eu> | 2024-04-01 15:17:36 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-04-01 15:17:36 +0000 |
commit | d22a9cf1583075186a19282c7566b520ec1dcd81 (patch) | |
tree | 626680d813f90693962838494e84665d4af6c392 | |
parent | 02c06cfbc711c01d22bb0c52f8440f7060c10916 (diff) | |
download | libgraphics-d22a9cf1583075186a19282c7566b520ec1dcd81.tar.gz libgraphics-d22a9cf1583075186a19282c7566b520ec1dcd81.tar.bz2 libgraphics-d22a9cf1583075186a19282c7566b520ec1dcd81.zip |
can't always rely on screen being there.
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ rgb(ulong c) { Memimage *i; - i = eallocmemimage(UR, screen->chan); + i = eallocmemimage(UR, RGBA32); i->flags |= Frepl; i->clipr = Rect(-1e6, -1e6, 1e6, 1e6); memfillcolor(i, c); |