diff --git a/BINDINGS.md b/BINDINGS.md index b7930220..cbbc1f1d 100644 --- a/BINDINGS.md +++ b/BINDINGS.md @@ -40,6 +40,7 @@ Some people ported raylib to other languages in form of bindings or wrappers to | raylib-odin | **4.0** | [Odin](https://odin-lang.org/) | BSD-3Clause | https://github.com/odin-lang/Odin/tree/master/vendor/raylib | | raylib-ocaml | **4.0** | [OCaml](https://ocaml.org/) | MIT | https://github.com/tjammer/raylib-ocaml | | Ray4Laz | **4.0** | [Pascal](https://en.wikipedia.org/wiki/Pascal_(programming_language))| Zlib | https://github.com/GuvaCode/Ray4Laz | +| Raylib.4.0.Pascal | **4.0** | [Free Pascal](https://en.wikipedia.org/wiki/Free_Pascal)| Zlib | https://github.com/sysrpl/Raylib.4.0.Pascal | | pyraylib | 3.7 | [Python](https://www.python.org/) | Zlib | https://github.com/Ho011/pyraylib | | raylib-python-cffi | **4.0** | [Python](https://www.python.org/) | EPL-2.0 | https://github.com/electronstudio/raylib-python-cffi | | raylib-php | 3.5 | [PHP](https://en.wikipedia.org/wiki/PHP) | Zlib | https://github.com/joseph-montanez/raylib-php | diff --git a/projects/4coder/main.c b/projects/4coder/main.c index 0f1b192c..4abae398 100644 --- a/projects/4coder/main.c +++ b/projects/4coder/main.c @@ -12,7 +12,6 @@ int main() { cam.target = (Vector3){ 0.0f, 0.0f, 0.0f }; cam.up = (Vector3){ 0.0f, 1.f, 0.0f }; cam.fovy = 60.0f; - cam.type = CAMERA_PERSPECTIVE; Vector3 cubePos = { 0.0f, 0.0f, 0.0f }; diff --git a/src/rcore.c b/src/rcore.c index dafc7dc1..5953b138 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -4070,14 +4070,6 @@ static bool InitGraphicsDevice(int width, int height) } } } - -#if defined(PLATFORM_DESKTOP) - // If we are windowed fullscreen, ensures that window does not minimize when focus is lost - if ((CORE.Window.screen.height == CORE.Window.display.height) && (CORE.Window.screen.width == CORE.Window.display.width)) - { - glfwWindowHint(GLFW_AUTO_ICONIFY, 0); - } -#endif TRACELOG(LOG_WARNING, "SYSTEM: Closest fullscreen videomode: %i x %i", CORE.Window.display.width, CORE.Window.display.height); // NOTE: ISSUE: Closest videomode could not match monitor aspect-ratio, for example, @@ -4099,6 +4091,13 @@ static bool InitGraphicsDevice(int width, int height) } else { +#if defined(PLATFORM_DESKTOP) + // If we are windowed fullscreen, ensures that window does not minimize when focus is lost + if ((CORE.Window.screen.height == CORE.Window.display.height) && (CORE.Window.screen.width == CORE.Window.display.width)) + { + glfwWindowHint(GLFW_AUTO_ICONIFY, 0); + } +#endif // No-fullscreen window creation CORE.Window.handle = glfwCreateWindow(CORE.Window.screen.width, CORE.Window.screen.height, (CORE.Window.title != 0)? CORE.Window.title : " ", NULL, NULL);