benfry / processing4

Processing 4.x releases for Java 17
https://processing.org
Other
1.35k stars 239 forks source link

Fullscreen does not cover entire screen with P2D #753

Closed gravysauce481 closed 1 year ago

gravysauce481 commented 1 year ago

I am using the fullscreen() method, but when I run the code (in IntelliJ using library jar not Processing) with the 'P2D' argument it doesn't cover the whole screen. The default renderer (no arguments) works as expected but it looks bad and the movement of objects in my game is erratic/jolting.

All that's necessary to reproduce it is "fullscreen(P2D);" in settings() or at the beginning of setup in Processing IDE I think.

I have seen another post similar to this which is supposedly solved except my windows magnification is 125% which seems to be an issue as 100% works but not 125% or 150%.

Adding pixelDensity(displayDensity()); does nothing.

Processing version: 4.2 OS: Windows

benfry commented 1 year ago

Looks like a duplicate of https://github.com/processing/processing4/issues/718