mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(console): update SetGxCVars and UpdateGxCVars
This commit is contained in:
parent
758099c076
commit
28eecb2a09
5 changed files with 123 additions and 26 deletions
|
|
@ -106,6 +106,14 @@ uint32_t CGxDevice::s_texFormatBytesPerBlock[] = {
|
|||
CGxShader* CGxDevice::s_uiVertexShader = nullptr;
|
||||
CGxShader* CGxDevice::s_uiPixelShader = nullptr;
|
||||
|
||||
void CGxDevice::LogOpen() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDevice::LogClose() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDevice::Log(const char* format, ...) {
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ class CGxDevice {
|
|||
static CGxShader* s_uiPixelShader;
|
||||
|
||||
// Static functions
|
||||
static void LogOpen();
|
||||
static void LogClose();
|
||||
static void Log(const char* format, ...);
|
||||
static void Log(const CGxFormat& format);
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
|
|
|
|||
|
|
@ -59,3 +59,15 @@ void GxFormatColor(CImVector& color) {
|
|||
color = formattedColor;
|
||||
}
|
||||
}
|
||||
|
||||
void GxLogOpen() {
|
||||
CGxDevice::LogOpen();
|
||||
}
|
||||
|
||||
void GxLogClose() {
|
||||
CGxDevice::LogClose();
|
||||
}
|
||||
|
||||
void GxLog(const char* format, ...) {
|
||||
// TODO
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,4 +18,10 @@ void GxCapsWindowSize(CRect&);
|
|||
|
||||
void GxFormatColor(CImVector&);
|
||||
|
||||
void GxLogOpen();
|
||||
|
||||
void GxLogClose();
|
||||
|
||||
void GxLog(const char* format, ...);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue