gulrak / raylib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from raysan5/raylib
A simple and easy-to-use library to enjoy videogames programming
Home Page: http://www.raylib.com
License: zlib License
This project forked from raysan5/raylib
A simple and easy-to-use library to enjoy videogames programming
Home Page: http://www.raylib.com
License: zlib License
void TakeScreenshot(const char *fileName)
is using the logical resolution but glfw is actually creating a x2 size frame buffer om retina or high dpi screens. This results in only a quarter of the screen beeing exported in a distorted messed-up way.
macOS 10.14 and up, any device with high resolution screen
ATTENTION: This fork of raylib is not the official version and in no means replacing it, its main purpose is to fix issues that are out of scope in the official raylib, mainly macOS related stuff, so be warned that I will close issues that I think should be reported there
WARNING: Please, read this note carefully before submitting a new issue:
It is important to realise that this is NOT A SUPPORT FORUM, this is for reproducible BUGS with raylib ONLY.
There are lots of generous and helpful people ready to help you out on raylib Discord forum or raylib reddit.
Remember that asking for support questions here actively takes developer time away from improving raylib.
Please, before submitting a new issue verify and check:
TakeScreenshot and gif recording (F12 functions) not getting full window on macOS monitor with retina screen or high resolution (e.g. 4k). There was a previous fix for this on this fork that was done on master and also using some additional glfw function but a generic fix seems possible with ray lib functions.
macOS (at least Catalina and up). 16" MBP 2020, external 4k display
As the default of GLFW on macOS is to enforce an available dedicated GPU, even low demanding games and tools are easily getting the GPU fans going, the power consumption is higher, reducing the battery runtime on MacBooks without need.
macOS on a MacBook Pro with Intel UHD Graphics 630 and dedicated AMD Radeon Pro 5500M
The suggested use-case would be something like:
SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_VSYNC_HINT | FLAG_WINDOW_RESIZABLE | FLAG_COCOA_GRAPHICS_SWITCHING);
InitWindow(screenWidth, screenHeight, "raylib [ImGui] example - ImGui Demo");
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.