Skip to content

Commit ecdab72

Browse files
committed
Missing call to flush_display_lineregion() for SDL in PILOTBITBLT
When the target for a PILOTBITBLT operation is the display bitmap, and the display bitmap is not memory-mapped from the actual display, the display subsystem needs to be notified to flush the Lisp display bitmap to the display so that changes are immediately visible. The mechanism was present for X11 displays but needed to be implemented for SDL displays.
1 parent 249efce commit ecdab72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitblt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ LispPTR N_OP_pilotbitblt(LispPTR pilot_bt_tbl, LispPTR tos)
126126
if (displayflg) (currentdsp->mouse_visible)(IOPage->dlmousex, IOPage->dlmousey);
127127
#endif /* SUNDISPLAY / DOS */
128128

129-
#ifdef XWINDOW
129+
#if defined(XWINDOW) || defined(SDL)
130130
flush_display_lineregion(dx, dstbase, w, h);
131131
#endif /* XWINDOW */
132132

0 commit comments

Comments
 (0)