diff options
-rw-r--r-- | do_traps.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -165,6 +165,8 @@ InitFixedTraps(XParms xp, Parms p, int64_t reps) break; } maskFormat = XRenderFindStandardFormat (xp->d, std_fmt); + if (!maskFormat) + return 0; maskPixmap = XCreatePixmap (xp->d, xp->w, WIDTH, HEIGHT, depth); |