[nostalgia/core] Rename customData functions in Context and move them out of Context
This commit is contained in:
@@ -45,7 +45,7 @@ ox::Error run(Context *ctx) noexcept {
|
||||
glfwSwapBuffers(id->window);
|
||||
}
|
||||
// destroy GLFW window
|
||||
oxReturnError(renderer::shutdown(ctx, ctx->rendererData<void>()));
|
||||
renderer::shutdown(ctx, ctx->rendererData<void>());
|
||||
glfwDestroyWindow(id->window);
|
||||
ctx->setWindowerData(nullptr);
|
||||
delete id;
|
||||
|
||||
Reference in New Issue
Block a user