Skip to content

Commit 42a1928

Browse files
committed
Actually fix rename.
1 parent c198e16 commit 42a1928

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libProcessing/ffi/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub extern "C" fn processing_background_color(window_id: u64, color: Color) {
8383
pub extern "C" fn processing_begin_draw(window_id: u64) {
8484
error::clear_error();
8585
let window_entity = Entity::from_bits(window_id);
86-
error::check(|| renderer::processing_begin_draw(window_entity));
86+
error::check(|| renderer::begin_draw(window_entity));
8787
}
8888

8989
/// Flushes recorded draw commands for the given window.
@@ -95,7 +95,7 @@ pub extern "C" fn processing_begin_draw(window_id: u64) {
9595
pub extern "C" fn processing_flush(window_id: u64) {
9696
error::clear_error();
9797
let window_entity = Entity::from_bits(window_id);
98-
error::check(|| renderer::processing_flush(window_entity));
98+
error::check(|| renderer::flush(window_entity));
9999
}
100100

101101
/// Ends the draw for the given window and presents the frame.
@@ -107,7 +107,7 @@ pub extern "C" fn processing_flush(window_id: u64) {
107107
pub extern "C" fn processing_end_draw(window_id: u64) {
108108
error::clear_error();
109109
let window_entity = Entity::from_bits(window_id);
110-
error::check(|| renderer::processing_end_draw(window_entity));
110+
error::check(|| renderer::end_draw(window_entity));
111111
}
112112

113113
/// Shuts down internal resources with given exit code, but does *not* terminate the process.

0 commit comments

Comments
 (0)