diff options
Diffstat (limited to 'client/x11/red_window.cpp')
| -rw-r--r-- | client/x11/red_window.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp index 6de86bf2..21567275 100644 --- a/client/x11/red_window.cpp +++ b/client/x11/red_window.cpp @@ -1930,6 +1930,11 @@ int RedWindow::get_screen_num() return _screen; } +RedDrawable::Format RedWindow::get_format() +{ + return XPlatform::get_screen_format(_screen); +} + void RedWindow::set_type_gl() { PixelsSource_p *pix_source = (PixelsSource_p*)get_opaque(); |
