]> git.mdlowis.com Git - proto/labwc.git/commit
src/magnifier: fix compile on ancient GCC versions
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 30 Mar 2025 02:12:55 +0000 (04:12 +0200)
committerAndrew J. Hesford <ajh@sideband.org>
Sun, 30 Mar 2025 04:30:05 +0000 (00:30 -0400)
commit9f53d7ed25e6f221ddaf8bb97565c62cc7978ac0
tree6c5b438a52304c5cf0c03762c9365ea5b2315420
parent9479742f46f9257b58b910e651f5127c48020445
src/magnifier: fix compile on ancient GCC versions

Fixes
```
../src/magnifier.c:153:3: error: missing initializer for field ‘clip’ of ‘struct wlr_render_rect_options’ [-Werror=missing-field-initializers]
  153 |   };
      |   ^
In file included from ../subprojects/wlroots/include/wlr/render/wlr_renderer.h:14,
                 from ../subprojects/wlroots/include/wlr/types/wlr_output.h:17,
                 from ../src/magnifier.c:5:
../subprojects/wlroots/include/wlr/render/pass.h:115:27: note: ‘clip’ declared here
  115 |  const pixman_region32_t *clip
```
src/magnifier.c