InfiniTimeOrg / InfiniSim

Simulator for InfiniTime user interface without needing a PineTime
GNU General Public License v3.0
166 stars 66 forks source link

Handle MONITOR_ZOOM for screen transitions and captures #106

Closed NeroBurner closed 1 year ago

NeroBurner commented 1 year ago

Something must have changed, but now the MONITOR_ZOOM factor must be considered when calling SDL_RenderReadPixels. Always calling with a monitor width and height of 240 results in a segmentation fault in said function.

Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/95