Mercurial > repos > blastem
diff vdp.h @ 1401:b56c8c51ca5d
Properly release and reacquire framebuffer pointer when switching contexts. Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 15 Jun 2017 09:45:21 -0700 |
parents | e587f16e7d3d |
children | 4e5797b3935a |
line wrap: on
line diff
--- a/vdp.h Wed Jun 14 21:59:30 2017 -0700 +++ b/vdp.h Thu Jun 15 09:45:21 2017 -0700 @@ -248,5 +248,7 @@ void write_cram(vdp_context * context, uint16_t address, uint16_t value); void vdp_check_update_sat_byte(vdp_context *context, uint32_t address, uint8_t value); void vdp_pbc_pause(vdp_context *context); +void vdp_release_framebuffer(vdp_context *context); +void vdp_reacquire_framebuffer(vdp_context *context); #endif //VDP_H_