mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
oops
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@646 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -502,7 +502,7 @@ void MwLLDestroyPixmap(MwLLPixmap pixmap) {
|
||||
void MwLLDrawPixmap(MwLL handle, MwRect* rect, MwLLPixmap pixmap) {
|
||||
if(rect->width == 0 || rect->height == 0) return;
|
||||
#ifdef USE_XRENDER
|
||||
if(pixmap->image != NULL && pixmap->use_render) {
|
||||
if(pixmap->image != NULL && pixmap->use_xrender) {
|
||||
Pixmap px = XCreatePixmap(handle->display, handle->window, pixmap->width, pixmap->height, pixmap->depth);
|
||||
Pixmap mask = XCreatePixmap(handle->display, handle->window, rect->width, rect->height, 1);
|
||||
Pixmap pxsrc = XCreatePixmap(handle->display, handle->window, rect->width, rect->height, pixmap->depth);
|
||||
|
||||
Reference in New Issue
Block a user