diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rodeo/gfx.h | 6 | ||||
| -rw-r--r-- | include/rodeo/window.h | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/include/rodeo/gfx.h b/include/rodeo/gfx.h index 151bdda..05ce7d0 100644 --- a/include/rodeo/gfx.h +++ b/include/rodeo/gfx.h @@ -19,6 +19,12 @@ rodeo_gfx_frame_begin(void); void rodeo_gfx_frame_end(void); +float +rodeo_gfx_width_get(void); + +float +rodeo_gfx_height_get(void); + cstr rodeo_gfx_renderer_name_get(void); diff --git a/include/rodeo/window.h b/include/rodeo/window.h index 5674174..2dcfab2 100644 --- a/include/rodeo/window.h +++ b/include/rodeo/window.h @@ -22,10 +22,10 @@ void rodeo_window_deinit(void); uint32_t -rodeo_window_screen_width_get(void); +rodeo_window_width_get(void); uint32_t -rodeo_window_screen_height_get(void); +rodeo_window_height_get(void); bool rodeo_window_shouldQuit(void); @@ -35,14 +35,14 @@ rodeo_window_quit(void); #define \ mrodeo_window_do( \ - screen_height, \ screen_width, \ + screen_height, \ title \ ) \ mrodeo_defer_do( \ rodeo_window_init( \ - screen_height, \ screen_width, \ + screen_height, \ title \ ), \ rodeo_window_deinit() \ |
