[nostalgia/core] Remove renderer funcions from Context friends

This commit is contained in:
2022-02-03 20:48:58 -06:00
parent 8174d04b06
commit c7cd54ae52
6 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ ox::Error loadBgTileSheet(Context *ctx,
pixels[i * 2 + 1] = toColor32(palette->colors[tilesheet->pixels[i] >> 4]);
}
}
return renderer::loadBgTexture(ctx, section, pixels.data(), width, height);
return renderer::loadBgTexture(ctx->rendererData<void>(), section, pixels.data(), width, height);
}
void puts(Context *ctx, int column, int row, const char *str) noexcept {