fix(gx): when not on Windows or Linux, use dummy NewOpenGl

This commit is contained in:
superp00t 2023-11-18 11:30:06 -05:00
parent 61b7c52a3c
commit ec66da49c5

View File

@ -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) {