Mercurial > molko
comparison libmlk-core/mlk/core/painter.h @ 462:5729efd23286
core: core -> mlk_core
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Feb 2023 09:52:55 +0100 |
parents | 04797b35565c |
children | bc5483849614 |
comparison
equal
deleted
inserted
replaced
461:d7874f11565f | 462:5729efd23286 |
---|---|
21 | 21 |
22 #include "core.h" | 22 #include "core.h" |
23 | 23 |
24 struct texture; | 24 struct texture; |
25 | 25 |
26 CORE_BEGIN_DECLS | 26 MLK_CORE_BEGIN_DECLS |
27 | 27 |
28 struct texture * | 28 struct texture * |
29 mlk_painter_get_target(void); | 29 mlk_painter_get_target(void); |
30 | 30 |
31 void | 31 void |
53 mlk_painter_clear(void); | 53 mlk_painter_clear(void); |
54 | 54 |
55 void | 55 void |
56 mlk_painter_present(void); | 56 mlk_painter_present(void); |
57 | 57 |
58 CORE_END_DECLS | 58 MLK_CORE_END_DECLS |
59 | 59 |
60 #define MLK_PAINTER_BEGIN(tex) \ | 60 #define MLK_PAINTER_BEGIN(tex) \ |
61 do { \ | 61 do { \ |
62 struct texture *__current_texture__; \ | 62 struct texture *__current_texture__; \ |
63 \ | 63 \ |