[nostalgia/core] Rename customData functions in Context and move them out of Context
This commit is contained in:
@@ -12,7 +12,7 @@ namespace nostalgia::core::renderer {
|
||||
|
||||
ox::Error init(Context *ctx, void **rendererData) noexcept;
|
||||
|
||||
ox::Error shutdown(Context *ctx, void *rendererData) noexcept;
|
||||
void shutdown(Context *ctx, void *rendererData) noexcept;
|
||||
|
||||
ox::Error loadBgTexture(void *rendererData, int section, void *pixels, int w, int h) noexcept;
|
||||
|
||||
|
||||
@@ -195,10 +195,9 @@ ox::Error init(Context *ctx, void **rendererData) noexcept {
|
||||
return OxError(0);
|
||||
}
|
||||
|
||||
ox::Error shutdown(Context*, void *rendererData) noexcept {
|
||||
void shutdown(Context*, void *rendererData) noexcept {
|
||||
const auto id = reinterpret_cast<GlImplData*>(rendererData);
|
||||
delete id;
|
||||
return OxError(0);
|
||||
}
|
||||
|
||||
ox::Error loadBgTexture(void *rendererData, int section, void *pixels, int w, int h) noexcept {
|
||||
|
||||
Reference in New Issue
Block a user