Browse Source

Removed memset()

Ray 3 năm trước cách đây
mục cha
commit
7fa75cb24e
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/rcore.c

+ 0 - 2
src/rcore.c

@@ -752,8 +752,6 @@ void InitWindow(int width, int height, const char *title)
     TRACELOG(LOG_INFO, "    > raudio:.... not loaded (optional)");
 #endif
 
-    memset(&CORE, 0, sizeof(CoreData));  // Clean CORE object memory
-
     if ((title != NULL) && (title[0] != 0)) CORE.Window.title = title;
 
     // Initialize required global values different than 0