Skip to content

Commit

Permalink
Compositor: fix build (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis authored Jan 13, 2025
1 parent 213a56c commit 58aaad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compositor/lib/Mesa/Compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ namespace Plugin {

_renderer->End(false);

_clients.Visit([&](const string& name, const Core::ProxyType<Client> client) {
_clients.Visit([&](const string& /*name*/, const Core::ProxyType<Client> client) {
ASSERT(client.IsValid() == true);

if (output.IsIntersecting(client->Geometry())) {
Expand Down
2 changes: 1 addition & 1 deletion Compositor/lib/Mesa/renderer/test/testdmabuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class RenderTest {

uint32_t commit;

if (commit = _connector->Commit() == Core::ERROR_NONE) {
if ((commit = _connector->Commit()) == Core::ERROR_NONE) {
WaitForVSync(100);
} else {
TRACE(Trace::Error, ("Commit failed: %d", commit));
Expand Down

0 comments on commit 58aaad3

Please sign in to comment.