mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-20 21:14:56 +03:00
feat(console): handle color bits and depth bits vars in SetGxCVars
This commit is contained in:
1 file changed
+3
-2
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user