diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2021-03-26 17:42:10 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2021-03-26 17:42:50 +0100 |
commit | 3c7c84ed49564907a148ae99b03200e0be350060 (patch) | |
tree | ad59e3231567ca5e57843a0f1cc0a86cfe929ba1 /src/radeon_exa_shared.h | |
parent | 8da3e4561ef82bb78c9a17b8cd8bf139b9cfd680 (diff) |
Guard local variable priv only used with glamor
Fixes compile errors with glamor disabled:
../../src/radeon_present.c: In function ‘radeon_present_check_flip’:
../../src/radeon_present.c:281:21: error: invalid use of undefined type ‘struct radeon_pixmap’
281 | if (priv && priv->fb_failed)
| ^~
../../src/radeon_present.c:288:19: error: invalid use of undefined type ‘struct radeon_pixmap’
288 | if (priv && !priv->fb_failed) {
| ^~
../../src/radeon_present.c:292:10: error: invalid use of undefined type ‘struct radeon_pixmap’
292 | priv->fb_failed = TRUE;
| ^~
Diffstat (limited to 'src/radeon_exa_shared.h')
0 files changed, 0 insertions, 0 deletions