comparison libmlk-core/mlk/core/window.c @ 437:e1eebc6bf25d

man: initial import
author David Demelier <markand@malikania.fr>
date Sun, 16 Oct 2022 13:21:40 +0200
parents 8f59201dc76b
children 773a082f0b91
comparison
equal deleted inserted replaced
436:df92d5b056ce 437:e1eebc6bf25d
82 window_open(const char *title, unsigned int w, unsigned int h) 82 window_open(const char *title, unsigned int w, unsigned int h)
83 { 83 {
84 assert(title); 84 assert(title);
85 85
86 if (!load_window(title, w, h) || !load_renderer()) 86 if (!load_window(title, w, h) || !load_renderer())
87 return ERR_SDL; 87 return MLK_ERR_SDL;
88 88
89 window.w = w; 89 window.w = w;
90 window.h = h; 90 window.h = h;
91 91
92 load_framerate(); 92 load_framerate();