mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(console): handle color bits and depth bits vars in SetGxCVars
This commit is contained in:
parent
b4ff373910
commit
7e03c5e1d4
@ -163,8 +163,9 @@ void UpdateGxCVars() {
|
|||||||
void SetGxCVars(const CGxFormat& format) {
|
void SetGxCVars(const CGxFormat& format) {
|
||||||
char value[1024];
|
char value[1024];
|
||||||
|
|
||||||
// TODO s_cvGxColorBits
|
s_cvGxColorBits->Set(CGxFormat::formatToBitsString[format.colorFormat], true, false, false, true);
|
||||||
// TODO s_cvGxDepthBits
|
|
||||||
|
s_cvGxDepthBits->Set(CGxFormat::formatToBitsString[format.depthFormat], true, false, false, true);
|
||||||
|
|
||||||
SStrPrintf(value, sizeof(value), "%d", format.window);
|
SStrPrintf(value, sizeof(value), "%d", format.window);
|
||||||
s_cvGxWindow->Set(value, true, false, false, true);
|
s_cvGxWindow->Set(value, true, false, false, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user