[nostalgia/core] Remove renderer funcions from Context friends
This commit is contained in:
@@ -66,7 +66,10 @@ ox::Error initGfx(Context *ctx) noexcept {
|
||||
//io.MouseDrawCursor = true;
|
||||
ImGui_ImplGlfw_InitForOpenGL(id->window, true);
|
||||
}
|
||||
return renderer::init(ctx);
|
||||
void *rendererData = nullptr;
|
||||
oxReturnError(renderer::init(ctx, &rendererData));
|
||||
ctx->setRendererData(rendererData);
|
||||
return OxError(0);
|
||||
}
|
||||
|
||||
void setWindowTitle(Context *ctx, const char *title) noexcept {
|
||||
|
||||
Reference in New Issue
Block a user