parent
5572430ba5
commit
aa03c4ce9f
|
@ -28,6 +28,7 @@ struct Dither_painter
|
||||||
Genode::Texture<SRC_PT> const &texture)
|
Genode::Texture<SRC_PT> const &texture)
|
||||||
{
|
{
|
||||||
if (surface.size() != texture.size()) return;
|
if (surface.size() != texture.size()) return;
|
||||||
|
if (!texture.pixel() || !texture.alpha()) return;
|
||||||
|
|
||||||
Genode::Surface_base::Rect const clipped = surface.clip();
|
Genode::Surface_base::Rect const clipped = surface.clip();
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,7 @@ void Pointer::Main::_update_pointer()
|
||||||
_rom_registry.lookup(*this, _hovered_label);
|
_rom_registry.lookup(*this, _hovered_label);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Shape_report shape_report;
|
Shape_report shape_report { 0, 0, 0, 0, 0, 0 };
|
||||||
|
|
||||||
shape_module.read_content(*this, (char*)&shape_report, sizeof(shape_report));
|
shape_module.read_content(*this, (char*)&shape_report, sizeof(shape_report));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue