aboutsummaryrefslogtreecommitdiff
path: root/bindgen
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-04-14 18:50:42 +0200
committerAndre Weissflog <floooh@gmail.com>2021-04-14 18:57:01 +0200
commit0c5bc3a7f08a507d85a83bfc0140665c9eb7cf50 (patch)
treea1bc059e62267d318add60bed2abbf28d934b6db /bindgen
parent4adc53e0a44fb3ee16feea394a771bccb696209f (diff)
sokol_gfx.h Metal: handle currentDrawable == nil (fixes #504)
- presentDrawable is skipped if the drawable_cb returns nil - moved the completion handler block up into the first begin-pass of a frame, this should make a difference, but it's similar now to the Xcode Metal example project. - tested by returning nil from sapp_metal_get_renderpass_descriptor() and/or sapp_metal_get_drawable()
Diffstat (limited to 'bindgen')
0 files changed, 0 insertions, 0 deletions