diff --git a/src/editor/src/main.cpp b/src/editor/src/main.cpp index fb08060..3dd594c 100644 --- a/src/editor/src/main.cpp +++ b/src/editor/src/main.cpp @@ -52,7 +52,7 @@ int main() profiling::resetCounters(); } ); - engine_ctx.hookLateFrame( [ & ]( [[maybe_unused]] FrameInfo& info ) { editor_ctx.draw( info ); } ); + engine_ctx.hookEarlyFrame( [ & ]( [[maybe_unused]] FrameInfo& info ) { editor_ctx.draw( info ); } ); engine_ctx.hookLateFrame( [ & ]( FrameInfo& info ) { editor_ctx.endDraw( info ); } ); // Now we need to create the camera for the editor.