git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@147 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-04 04:11:37 +00:00
parent a696ee01f3
commit 6daa7d3ac1

View File

@@ -273,7 +273,11 @@ void MwLLDestroyPixmap(MwLLPixmap pixmap) {
}
void MwLLDrawPixmap(MwLL handle, MwRect* rect, MwLLPixmap pixmap) {
#ifndef NO_XRENDER
#ifdef NO_XRENDERn
(void)handle;
(void)rect;
(void)pixmap;
#else
if(pixmap->image != NULL) {
Pixmap px = XCreatePixmap(handle->display, handle->window, pixmap->width, pixmap->height, 24);
XRenderPictFormat* format = XRenderFindStandardFormat(handle->display, PictStandardRGB24);