diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-06-15 09:45:21 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-06-15 09:45:21 -0700 |
commit | dee43c24fbd5f0ee0b81cc325164903c8b25ea1d (patch) | |
tree | ad8562d7a5d411430122ac75b1e755e571907684 /vdp.h | |
parent | fd0dfe77e0c947e63026c944b94675018834351b (diff) |
Properly release and reacquire framebuffer pointer when switching contexts. Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
Diffstat (limited to 'vdp.h')
-rw-r--r-- | vdp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -248,5 +248,7 @@ uint32_t vdp_cycles_to_frame_end(vdp_context * context); 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_ |