Fix BeginScissorMode for high DPI. Add comment to set FLAG_WINDOW_HIGHDPI flag.
This commit is contained in:
parent
4d3c79f91f
commit
28a20218d2
1 changed files with 5 additions and 1 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue