ITADN

Feedback on page SDL2/SDL_CreateWindowAndRenderer

#927Closed0x02f0bcd4 创建于 2026-03-13
0
0x02f0bcd4commented
The documentation mentions the function signature as - ``` int SDL_CreateWindowAndRenderer( int width, int height, Uint32 window_flags, SDL_Window **window, SDL_Renderer **renderer); ``` Which actually should be ``` int SDL_CreateWindowAndRenderer( const char* window_title, // notice that the window title has to be passed as first argument. int width, int height, Uint32 window_flags, SDL_Window **window, SDL_Renderer **renderer); ``` That would be all, thanks <3. Edit: Markdown rendering fixed.
关闭于 2026-03-13 1 条评论