Fix SDL rectangle frame.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
4ae655caab
commit
1b3c3f6711
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ SDLRendererFrame::SDLRendererFrame(const EmulatorOptions & options)
|
||||||
myRect.x = video.GetFrameBufferBorderWidth();
|
myRect.x = video.GetFrameBufferBorderWidth();
|
||||||
myRect.y = video.GetFrameBufferBorderHeight();
|
myRect.y = video.GetFrameBufferBorderHeight();
|
||||||
myRect.w = sw;
|
myRect.w = sw;
|
||||||
myRect.h = sw;
|
myRect.h = sh;
|
||||||
myPitch = width * sizeof(bgra_t);
|
myPitch = width * sizeof(bgra_t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue