mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-07 06:07:57 +03:00
Make MyRectangle an alias of SDL_Rect
This commit is contained in:
+2
-5
@@ -811,11 +811,8 @@ void commands2F4C() {
|
||||
int eWidth = getCaliValue();
|
||||
int eHeight = getCaliValue();
|
||||
|
||||
MyRectangle r;
|
||||
MyPoint p;
|
||||
|
||||
r.x = eSrcX; r.y = eSrcY; r.width = eWidth; r.height = eHeight;
|
||||
p.x = eX, p.y = eY;
|
||||
MyRectangle r = {eSrcX, eSrcY, eWidth, eHeight};
|
||||
MyPoint p = {eX, eY};
|
||||
|
||||
sdl_updateArea(&r, &p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user