mirror of https://github.com/libsdl-org/SDL
migration: change 2nd arg of SDL_CreateRenderer to NULL if it was -1
This commit is contained in:
parent
5066fcde69
commit
ecc48b882d
|
@ -456,6 +456,15 @@ expression e1, e2, e3, e4, e5, e6, e7, e8, e9;
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@
|
||||||
|
// SDL_CreateRenderer:
|
||||||
|
// 2nd argument changed from int (default=-1) to const char* (default=NULL)
|
||||||
|
expression e1, e2;
|
||||||
|
@@
|
||||||
|
SDL_CreateRenderer(e1,
|
||||||
|
- -1
|
||||||
|
+ NULL
|
||||||
|
, e2)
|
||||||
|
|
||||||
|
|
||||||
// Renaming of SDL_oldnames.h
|
// Renaming of SDL_oldnames.h
|
||||||
|
@ -1737,8 +1746,4 @@ expression e1, e2, e3, e4, e5, e6, e7, e8, e9;
|
||||||
@@
|
@@
|
||||||
- SDL_GetRectDisplayIndex
|
- SDL_GetRectDisplayIndex
|
||||||
+ SDL_GetDisplayIndexForRect
|
+ SDL_GetDisplayIndexForRect
|
||||||
(...)
|
(...)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue