Fix SDL rectangle frame.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-02-07 14:00:45 +00:00
parent 4ae655caab
commit 1b3c3f6711

View file

@ -39,7 +39,7 @@ SDLRendererFrame::SDLRendererFrame(const EmulatorOptions & options)
myRect.x = video.GetFrameBufferBorderWidth();
myRect.y = video.GetFrameBufferBorderHeight();
myRect.w = sw;
myRect.h = sw;
myRect.h = sh;
myPitch = width * sizeof(bgra_t);
}