Selaa lähdekoodia

Update RGFW (#4259)

* update RGFW

* fix bug with GetCurrentMonitor

* update RGFW

* update RGFW

* clean up merge

* update RGFW
Colleague Riley 1 vuosi sitten
vanhempi
commit
b432aa2b9c
2 muutettua tiedostoa jossa 483 lisäystä ja 359 poistoa
  1. 480 356
      src/external/RGFW.h
  2. 3 3
      src/platforms/rcore_desktop_rgfw.c

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 480 - 356
src/external/RGFW.h


+ 3 - 3
src/platforms/rcore_desktop_rgfw.c

@@ -1239,15 +1239,15 @@ int InitPlatform(void)
     // Check selection OpenGL version
     if (rlGetVersion() == RL_OPENGL_21)
     {
-        RGFW_setGLVersion(2, 1);
+        RGFW_setGLVersion(RGFW_GL_CORE, 2, 1);
     }
     else if (rlGetVersion() == RL_OPENGL_33)
     {
-        RGFW_setGLVersion(3, 3);
+        RGFW_setGLVersion(RGFW_GL_CORE, 3, 3);
     }
     else if (rlGetVersion() == RL_OPENGL_43)
     {
-        RGFW_setGLVersion(4, 1);
+        RGFW_setGLVersion(RGFW_GL_CORE, 4, 1);
     }
 
     if (CORE.Window.flags & FLAG_MSAA_4X_HINT)

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä