2
0
Ray 6 жил өмнө
parent
commit
a43f87e391
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      src/core.c
  2. 1 1
      src/raylib.h

+ 1 - 1
src/core.c

@@ -836,7 +836,7 @@ void SetWindowSize(int width, int height)
 }
 
 // Show the window
-void ShowWindow(void)
+__stdcall void ShowWindow(void)
 {
 #if defined(PLATFORM_DESKTOP)
     glfwShowWindow(window);

+ 1 - 1
src/raylib.h

@@ -840,7 +840,7 @@ RLAPI bool IsWindowReady(void);                                   // Check if wi
 RLAPI bool IsWindowMinimized(void);                               // Check if window has been minimized (or lost focus)
 RLAPI bool IsWindowHidden(void);                                  // Check if window is currently hidden
 RLAPI void ToggleFullscreen(void);                                // Toggle fullscreen mode (only PLATFORM_DESKTOP)
-RLAPI void ShowWindow(void);                                      // Show the window
+RLAPI __stdcall void ShowWindow(void);                                      // Show the window
 RLAPI void HideWindow(void);                                      // Hide the window
 RLAPI void SetWindowIcon(Image image);                            // Set icon for window (only PLATFORM_DESKTOP)
 RLAPI void SetWindowTitle(const char *title);                     // Set title for window (only PLATFORM_DESKTOP)