diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-06-19 16:29:20 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-06-19 16:29:20 +0000 |
| commit | e1bf7b920254deea542c9c09a344498982ba9424 (patch) | |
| tree | 7201753805136c2db4d903bf4cbca159f3927840 /src/drivers/Android/Fl_Android_Application.cxx | |
| parent | ba58edb33c3e8665cb872548270ee4e98c4ec150 (diff) | |
Android: Clearing the desktop when a window is hidden.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Android/Fl_Android_Application.cxx')
| -rw-r--r-- | src/drivers/Android/Fl_Android_Application.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Android/Fl_Android_Application.cxx b/src/drivers/Android/Fl_Android_Application.cxx index fca8d9a46..3a076bed3 100644 --- a/src/drivers/Android/Fl_Android_Application.cxx +++ b/src/drivers/Android/Fl_Android_Application.cxx @@ -389,7 +389,8 @@ void *Fl_Android_Application::thread_entry(void* param) * FIXME: everything is currently hardcoded to an 600x800 resolution * TODO: react to screen changes */ -void Fl_Android_Application::allocate_screen() { +void Fl_Android_Application::allocate_screen() +{ pApplicationWindowBuffer.bits = calloc(600*800, 2); // one uint16_t per pixel pApplicationWindowBuffer.width = 600; pApplicationWindowBuffer.height = 800; |
