We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab08a4 commit d274207Copy full SHA for d274207
1 file changed
src/video_display/drm.cpp
@@ -305,7 +305,7 @@ struct Drm_state {
305
std::set<uint32_t> supported_drm_formats;
306
bool prime_support = false;
307
308
- drmModeModeInfoPtr mode_info;
+ drmModeModeInfoPtr mode_info = nullptr;
309
};
310
311
struct Drm_framebuffer{
@@ -345,7 +345,7 @@ struct drm_display_state {
345
346
Drm_prime_fb drm_prime_fb;
347
348
- video_desc desc;
+ video_desc desc{};
349
frame_uniq frame;
350
351
std::vector<frame_uniq> free_frames;
0 commit comments