mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(app): add windows app
This commit is contained in:
parent
6bebfe5e2f
commit
655d795a9d
20 changed files with 176 additions and 66 deletions
|
|
@ -70,18 +70,28 @@ uint32_t CGxDevice::s_texFormatBytesPerBlock[] = {
|
|||
4 // GxTex_D24X8
|
||||
};
|
||||
|
||||
CGxDevice* CGxDevice::NewGLL() {
|
||||
#if defined(WHOA_SYSTEM_MAC)
|
||||
void* m = SMemAlloc(sizeof(CGxDeviceGLL), __FILE__, __LINE__, 0);
|
||||
|
||||
if (m) {
|
||||
return new (m) CGxDeviceGLL();
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
CGxDevice* CGxDevice::NewD3d() {
|
||||
// TODO
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
CGxDevice* CGxDevice::NewD3d9Ex() {
|
||||
// TODO
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#if defined(WHOA_SYSTEM_MAC)
|
||||
CGxDevice* CGxDevice::NewGLL() {
|
||||
void* m = SMemAlloc(sizeof(CGxDeviceGLL), __FILE__, __LINE__, 0);
|
||||
|
||||
if (m) {
|
||||
return new (m) CGxDeviceGLL();
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
CGxDevice* CGxDevice::NewOpenGl() {
|
||||
// TODO
|
||||
// void* m = SMemAlloc(sizeof(CGxDeviceOpenGl), __FILE__, __LINE__, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue