diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2019-01-11 19:54:49 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2019-01-12 15:54:57 +0100 |
| commit | 8ba982ae379f8d277bd555742ffdb83f70b54f75 (patch) | |
| tree | b23010ba139d48a2f8ddfa03ec7e4c6745ad175b /fluid/ExternalCodeEditor_UNIX.cxx | |
| parent | 1a1492a174fd0ec2942b16f4fc96f9cbd639675c (diff) | |
Fix Cairo callback drawing (needs flush)
This commit adds a cairo_surface flush after calling the draw callback.
This fixes the test/cairo_test demo program under Windows.
At least under Windows the Cairo callback used in Fl_Cairo_Window
didn't draw anything with current Windows 10, MinGW (32-bit) and
Cairo 1.15.12 for Windows. It worked well under Linux though. Anyway,
the flush should do no harm.
Diffstat (limited to 'fluid/ExternalCodeEditor_UNIX.cxx')
0 files changed, 0 insertions, 0 deletions
