mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix GCC -Wmaybe-uninitialized warnings
(cherry picked from commit efdff9cbc2)
This commit is contained in:
committed by
Yuri Sizov
parent
32b7664371
commit
cdce948473
@@ -74,17 +74,17 @@ private:
|
||||
};
|
||||
|
||||
struct GLDisplay {
|
||||
GLDisplay() { context = nullptr; }
|
||||
GLDisplay() {}
|
||||
~GLDisplay();
|
||||
GLManager_X11_Private *context = nullptr;
|
||||
::Display *x11_display;
|
||||
XVisualInfo x_vi;
|
||||
::Display *x11_display = nullptr;
|
||||
XVisualInfo x_vi = {};
|
||||
};
|
||||
|
||||
// just for convenience, window and display struct
|
||||
struct XWinDisp {
|
||||
::Window x11_window;
|
||||
::Display *x11_display;
|
||||
::Display *x11_display = nullptr;
|
||||
} _x_windisp;
|
||||
|
||||
LocalVector<GLWindow> _windows;
|
||||
|
||||
Reference in New Issue
Block a user