summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-06-15 09:45:21 -0700
committerMichael Pavone <pavone@retrodev.com>2017-06-15 09:45:21 -0700
commitdee43c24fbd5f0ee0b81cc325164903c8b25ea1d (patch)
treead8562d7a5d411430122ac75b1e755e571907684 /vdp.h
parentfd0dfe77e0c947e63026c944b94675018834351b (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vdp.h b/vdp.h
index 0a1bbb5..6c805c2 100644
--- a/vdp.h
+++ b/vdp.h
@@ -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_