--- nono/vm/renderer.h 2026/04/29 17:04:36 1.1.1.3 +++ nono/vm/renderer.h 2026/04/29 17:04:42 1.1.1.4 @@ -58,26 +58,26 @@ class Renderer : public Device // LUNA でいう 1280 x 1024 のこと。 // 仮想画面幅(ピクセル) - int width = 0; + int width {}; // 仮想画面高さ(ピクセル) - int height = 0; + int height {}; // バッファ (実体は wx 側で用意) - uint8 *imagebuf = NULL; + uint8 *imagebuf {}; // リフレッシュを指示するためのコールバック (wx 側で用意) // ここから直接 wxWindow::Refresh() を呼べないため。 - void (*refresh_callback)(void) = NULL; + void (*refresh_callback)(void) {}; // リクエストフラグ - uint32 request = 0; + uint32 request {}; std::mutex mtx {}; std::condition_variable cv {}; private: pthread_t thread {}; - bool thread_created = false; // スレッドが作成されたら true + bool thread_created {}; // スレッドが作成されたら true // スレッドの終了を指示 void Terminate();