Fix BeginScissorMode for high DPI. Add comment to set FLAG_WINDOW_HIGHDPI flag.

This commit is contained in:
Luke Krasnoff 2021-11-20 12:32:21 +10:30
commit 28a20218d2

View file

@ -20,6 +20,9 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
// If you have a high DPI screen you'll have to set the High DPI flag.
// SetConfigFlags(FLAG_WINDOW_HIGHDPI);
InitWindow(screenWidth, screenHeight, "raylib [core] example - scissor test");
Rectangle scissorArea = { 0, 0, 300, 300 };