Add SceneOpenGL::backend() const -> OpenGLBackend*
A way to get to the actual backend used by the compositing scene.
This commit is contained in:
parent
a9e5343eb6
commit
f76c18bfb8
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ public:
|
|||
**/
|
||||
Texture *createTexture();
|
||||
|
||||
OpenGLBackend *backend() const {
|
||||
return m_backend;
|
||||
}
|
||||
|
||||
#ifndef KWIN_HAVE_OPENGLES
|
||||
/**
|
||||
* Copy a region of pixels from the current read to the current draw buffer
|
||||
|
|
Loading…
Reference in a new issue