migration: replace SDL_DisplayMode w and h by screen_w and screen_h
This commit is contained in:
parent
e22f5ed7d3
commit
413376cdb3
|
@ -2334,3 +2334,23 @@ expression e;
|
||||||
@@
|
@@
|
||||||
- SDL_WINDOW_INPUT_GRABBED
|
- SDL_WINDOW_INPUT_GRABBED
|
||||||
+ SDL_WINDOW_MOUSE_GRABBED
|
+ SDL_WINDOW_MOUSE_GRABBED
|
||||||
|
@@
|
||||||
|
SDL_DisplayMode *e;
|
||||||
|
@@
|
||||||
|
(
|
||||||
|
- e->w
|
||||||
|
+ e->screen_w
|
||||||
|
|
|
||||||
|
- e->h
|
||||||
|
+ e->screen_h
|
||||||
|
)
|
||||||
|
@@
|
||||||
|
SDL_DisplayMode e;
|
||||||
|
@@
|
||||||
|
(
|
||||||
|
- e.w
|
||||||
|
+ e.screen_w
|
||||||
|
|
|
||||||
|
- e.h
|
||||||
|
+ e.screen_h
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue