Make SurfaceInterface::buffer() const
This commit is contained in:
parent
0045eaecfa
commit
0fcc4af42d
2 changed files with 2 additions and 2 deletions
|
@ -720,7 +720,7 @@ OutputInterface::Transform SurfaceInterface::bufferTransform() const
|
||||||
return d->current.bufferTransform;
|
return d->current.bufferTransform;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientBuffer *SurfaceInterface::buffer()
|
ClientBuffer *SurfaceInterface::buffer() const
|
||||||
{
|
{
|
||||||
return d->bufferRef;
|
return d->bufferRef;
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,7 +178,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* @returns the current ClientBuffer, might be @c nullptr.
|
* @returns the current ClientBuffer, might be @c nullptr.
|
||||||
*/
|
*/
|
||||||
ClientBuffer *buffer();
|
ClientBuffer *buffer() const;
|
||||||
QPoint offset() const;
|
QPoint offset() const;
|
||||||
/**
|
/**
|
||||||
* Returns the current size of the surface, in surface coordinates.
|
* Returns the current size of the surface, in surface coordinates.
|
||||||
|
|
Loading…
Reference in a new issue