Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rauch <Rauch.Christian@gmx.de>2020-07-22 03:47:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-22 03:57:42 +0300
commit59e48d8fe4b72b0d6717820c185ae91b5ae7ab39 (patch)
treeea8c176daa5db0c315389da36a7bed7f3d393e4d /intern/ghost/intern/GHOST_WindowWayland.h
parentcfa788cf9a8ef08f11beb04bd4ea7e87b2a9bf6e (diff)
Wayland: draw opaque background when OpenGL alpha is enabled
Diffstat (limited to 'intern/ghost/intern/GHOST_WindowWayland.h')
-rw-r--r--intern/ghost/intern/GHOST_WindowWayland.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWayland.h b/intern/ghost/intern/GHOST_WindowWayland.h
index 23e55fcd6e4..ff1eb60e154 100644
--- a/intern/ghost/intern/GHOST_WindowWayland.h
+++ b/intern/ghost/intern/GHOST_WindowWayland.h
@@ -109,6 +109,10 @@ class GHOST_WindowWayland : public GHOST_Window {
bool isDialog() const override;
+#ifdef GHOST_OPENGL_ALPHA
+ void setOpaque() const;
+#endif
+
private:
GHOST_SystemWayland *m_system;
struct window_t *w;