File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -235,12 +235,12 @@ where
235
235
fn draw_mode2D < ' a > (
236
236
& ' a mut self ,
237
237
camera : Camera2D ,
238
- func : impl FnOnce ( RaylibMode2D < ' a , Self > , Camera2D ) ,
238
+ func : impl FnOnce ( RaylibMode2D < ' a , Self > ) ,
239
239
) {
240
240
unsafe {
241
241
ffi:: BeginMode2D ( camera. into ( ) ) ;
242
242
}
243
- func ( RaylibMode2D ( self ) , camera ) ;
243
+ func ( RaylibMode2D ( self ) ) ;
244
244
// Uncomment the following if RaylibMode2D has been changed to no longer call EndMode2D() in its drop implementation:
245
245
// unsafe {
246
246
// ffi::EndMode2D();
@@ -291,12 +291,12 @@ where
291
291
fn draw_mode3D < ' a > (
292
292
& ' a mut self ,
293
293
camera : Camera3D ,
294
- func : impl FnOnce ( RaylibMode3D < ' a , Self > , Camera3D ) ,
294
+ func : impl FnOnce ( RaylibMode3D < ' a , Self > ) ,
295
295
) {
296
296
unsafe {
297
297
ffi:: BeginMode3D ( camera. into ( ) ) ;
298
298
}
299
- func ( RaylibMode3D ( self ) , camera ) ;
299
+ func ( RaylibMode3D ( self ) ) ;
300
300
// Uncomment the following if RaylibMode3D has been changed to no longer call EndMode3D() in its drop implementation:
301
301
// unsafe {
302
302
// ffi::EndMode3D();
You can’t perform that action at this time.
0 commit comments