comparison libmlk-core/mlk/core/window.c @ 564:e91f37da2992

core: doxygenize window
author David Demelier <markand@malikania.fr>
date Wed, 08 Mar 2023 20:09:21 +0100
parents c7664b679a95
children 97af110e9e4d
comparison
equal deleted inserted replaced
563:4e6d3b00f514 564:e91f37da2992
80 80
81 int 81 int
82 mlk_window_open(const char *title, unsigned int w, unsigned int h) 82 mlk_window_open(const char *title, unsigned int w, unsigned int h)
83 { 83 {
84 assert(title); 84 assert(title);
85 assert(w);
86 assert(h);
85 87
86 if (!load_window(title, w, h) || !load_renderer()) 88 if (!load_window(title, w, h) || !load_renderer())
87 return mlk_errf("%s", SDL_GetError()); 89 return mlk_errf("%s", SDL_GetError());
88 90
89 mlk_window.w = w; 91 mlk_window.w = w;