mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-17 15:07:06 +02:00
Merge pull request #263 from Kalmarv/pr/perf-textures-alias
Console: "perf textures" is "textures"
This commit is contained in:
1 file changed
+1
@@ -234,6 +234,7 @@ void register_perf_commands(Commands& registry) {
|
||||
|
||||
// How close the game is to its limit of streamed textures (texture_handle_limit).
|
||||
auto textures = action("textures", "Streamed textures in use, and the most the game can hold", Group::console);
|
||||
textures.aliases = {"perf textures"}; // beside the other perf readings, where it is looked for
|
||||
textures.execution = Execution::local;
|
||||
textures.run = [](const Model&, const Values&, const Output& out) {
|
||||
const auto state = texture_handle_limit::use();
|
||||
|
||||
Reference in new issue
Block a user