mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
fix
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@147 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -273,7 +273,11 @@ void MwLLDestroyPixmap(MwLLPixmap pixmap) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MwLLDrawPixmap(MwLL handle, MwRect* rect, 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) {
|
if(pixmap->image != NULL) {
|
||||||
Pixmap px = XCreatePixmap(handle->display, handle->window, pixmap->width, pixmap->height, 24);
|
Pixmap px = XCreatePixmap(handle->display, handle->window, pixmap->width, pixmap->height, 24);
|
||||||
XRenderPictFormat* format = XRenderFindStandardFormat(handle->display, PictStandardRGB24);
|
XRenderPictFormat* format = XRenderFindStandardFormat(handle->display, PictStandardRGB24);
|
||||||
|
|||||||
Reference in New Issue
Block a user