feat(console): handle color bits and depth bits vars in SetGxCVars

This commit is contained in:
fallenoak 2025-11-16 22:33:07 -06:00
parent b4ff373910
commit 7e03c5e1d4
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -163,8 +163,9 @@ void UpdateGxCVars() {
void SetGxCVars(const CGxFormat& format) {
char value[1024];
// TODO s_cvGxColorBits
// TODO s_cvGxDepthBits
s_cvGxColorBits->Set(CGxFormat::formatToBitsString[format.colorFormat], true, false, false, true);
s_cvGxDepthBits->Set(CGxFormat::formatToBitsString[format.depthFormat], true, false, false, true);
SStrPrintf(value, sizeof(value), "%d", format.window);
s_cvGxWindow->Set(value, true, false, false, true);