mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(gx): when not on Windows or Linux, use dummy NewOpenGl
This commit is contained in:
parent
61b7c52a3c
commit
ec66da49c5
@ -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…
Reference in New Issue
Block a user