mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 23:53:55 +00:00
committed by
Christian Helmuth
parent
5e862b2cd3
commit
cfd013a01a
@ -83,11 +83,7 @@ class Capture::Connection::Screen
|
||||
size(size), _connection(connection), _ds(rm, _connection.dataspace())
|
||||
{ }
|
||||
|
||||
template <typename FN>
|
||||
void with_texture(FN const &fn) const
|
||||
{
|
||||
fn(_texture);
|
||||
}
|
||||
void with_texture(auto const &fn) const { fn(_texture); }
|
||||
|
||||
void apply_to_surface(Surface<Pixel> &surface)
|
||||
{
|
||||
|
Reference in New Issue
Block a user