mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
just for safety
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@746 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -624,7 +624,7 @@ static void MwLLDestroyPixmapImpl(MwLLPixmap pixmap) {
|
||||
}
|
||||
|
||||
static void MwLLDrawPixmapImpl(MwLL handle, MwRect* rect, MwLLPixmap pixmap) {
|
||||
if(rect->width == 0 || rect->height == 0) return;
|
||||
if(rect->width == 0 || rect->height == 0 || pixmap->common.width == 0 || pixmap->common.height == 0) return;
|
||||
#ifdef USE_XRENDER
|
||||
if(pixmap->x11.image != NULL && pixmap->x11.use_xrender) {
|
||||
Pixmap px = XCreatePixmap(handle->x11.display, handle->x11.window, pixmap->common.width, pixmap->common.height, pixmap->x11.depth);
|
||||
|
||||
Reference in New Issue
Block a user