mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): when not on Windows or Linux, use dummy NewOpenGl
This commit is contained in:
parent
61b7c52a3c
commit
ec66da49c5
1 changed files with 4 additions and 0 deletions
|
|
@ -129,6 +129,10 @@ CGxDevice* CGxDevice::NewOpenGl() {
|
|||
auto m = SMemAlloc(sizeof(CGxDeviceGLSDL), __FILE__, __LINE__, 0x0);
|
||||
return new (m) CGxDeviceGLSDL();
|
||||
}
|
||||
#else
|
||||
CGxDevice* CGxDevice::NewOpenGl() {
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
uint32_t CGxDevice::PrimCalcCount(EGxPrim primType, uint32_t count) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue