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

This commit is contained in:
fallenoak committed 2025-11-16 22:33:07 -06:00
1 parent b4ff373910
commit 7e03c5e1d4
1 file changed
+3 -2
+3 -2
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);