Skip to content

Commit f490e94

Browse files
committed
Clear before init.
1 parent b3d9d84 commit f490e94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libProcessing/ffi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ mod error;
22

33
#[unsafe(no_mangle)]
44
pub extern "C" fn processing_init() {
5+
error::clear_error();
56
error::check(renderer::init());
67
}

0 commit comments

Comments
 (0)