Mercurial > repos > blastem
diff render.h @ 426:add9e2f5c0e3
Make VDP render in native pixel format of the renderer for a modest performance gain and to make it easier to use OpenGL for rendering
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 30 Jun 2013 11:45:58 -0700 |
parents | dbf4e1c86f3c |
children | 18cde14e8c10 7696d824489d |
line wrap: on
line diff
--- a/render.h Sat Jun 29 17:21:19 2013 -0700 +++ b/render.h Sun Jun 30 11:45:58 2013 -0700 @@ -4,6 +4,8 @@ #include "vdp.h" #include "psg.h" #include "ym2612.h" +uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); +uint8_t render_depth(); void render_init(int width, int height, char * title, uint32_t fps); void render_context(vdp_context * context); void render_wait_quit(vdp_context * context);