SDL_CreateWindow() has been simplified and no longer takes a window position.
This commit is contained in:
@@ -631,10 +631,6 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window);
|
||||
* in a future version of SDL.
|
||||
*
|
||||
* \param title the title of the window, in UTF-8 encoding
|
||||
* \param x the x position of the window, `SDL_WINDOWPOS_CENTERED`, or
|
||||
* `SDL_WINDOWPOS_UNDEFINED`
|
||||
* \param y the y position of the window, `SDL_WINDOWPOS_CENTERED`, or
|
||||
* `SDL_WINDOWPOS_UNDEFINED`
|
||||
* \param w the width of the window, in screen coordinates
|
||||
* \param h the height of the window, in screen coordinates
|
||||
* \param flags 0, or one or more SDL_WindowFlags OR'd together
|
||||
@@ -646,7 +642,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window *window);
|
||||
* \sa SDL_CreateWindowFrom
|
||||
* \sa SDL_DestroyWindow
|
||||
*/
|
||||
extern DECLSPEC SDL_Window *SDLCALL SDL_CreateWindow(const char *title, int x, int y, int w, int h, Uint32 flags);
|
||||
extern DECLSPEC SDL_Window *SDLCALL SDL_CreateWindow(const char *title, int w, int h, Uint32 flags);
|
||||
|
||||
/**
|
||||
* Create an SDL window from an existing native window.
|
||||
|
||||
Reference in New Issue
Block a user