Jelajahi Sumber

Haiku: fixed uninitialized variable.

Ryan C. Gordon 11 tahun lalu
induk
melakukan
e899f0c4e0
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      src/video/haiku/SDL_BWin.h

+ 2 - 0
src/video/haiku/SDL_BWin.h

@@ -83,6 +83,8 @@ class SDL_BWin:public BDirectWindow
         _trash_window_buffer = false;
         _trash_window_buffer = false;
         _buffer_locker = new BLocker();
         _buffer_locker = new BLocker();
         _bitmap = NULL;
         _bitmap = NULL;
+        _clips = NULL;
+
 #ifdef DRAWTHREAD
 #ifdef DRAWTHREAD
         _draw_thread_id = spawn_thread(BE_DrawThread, "drawing_thread",
         _draw_thread_id = spawn_thread(BE_DrawThread, "drawing_thread",
                             B_NORMAL_PRIORITY, (void*) this);
                             B_NORMAL_PRIORITY, (void*) this);