summaryrefslogtreecommitdiff
path: root/kmscube/cube-egl.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-04 20:45:57 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-04 20:46:20 +0200
commit74ff7361c38c4f8620b68c72fd2263c1f2d6a5a2 (patch)
tree990417471280c515f85062a75b97c31ac4db6e57 /kmscube/cube-egl.cpp
parentf22939013aa53b6584503285e32237f52490f3e2 (diff)
Fix clang-tidy warnings
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'kmscube/cube-egl.cpp')
-rw-r--r--kmscube/cube-egl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmscube/cube-egl.cpp b/kmscube/cube-egl.cpp
index 5f23c4e..9551793 100644
--- a/kmscube/cube-egl.cpp
+++ b/kmscube/cube-egl.cpp
@@ -67,6 +67,7 @@ EglState::EglState(void* native_display)
EGLConfig configs[numConfigs];
b = eglGetConfigs(m_display, configs, numConfigs, &numConfigs);
+ FAIL_IF(!b, "failed to get configs");
printf("Available configs:\n");