fix(gx): remove stub NewGLSDL when compiling for macOS

This commit is contained in:
phaneron 2023-12-16 21:03:53 -05:00
parent d6de5b56ec
commit 0f04abb9de

View file

@ -132,10 +132,6 @@ CGxDevice* CGxDevice::NewGLSDL() {
auto m = SMemAlloc(sizeof(CGxDeviceGLSDL), __FILE__, __LINE__, 0x0); auto m = SMemAlloc(sizeof(CGxDeviceGLSDL), __FILE__, __LINE__, 0x0);
return new (m) CGxDeviceGLSDL(); return new (m) CGxDeviceGLSDL();
} }
#else
CGxDevice* CGxDevice::NewGLSDL() {
return nullptr;
}
#endif #endif
uint32_t CGxDevice::PrimCalcCount(EGxPrim primType, uint32_t count) { uint32_t CGxDevice::PrimCalcCount(EGxPrim primType, uint32_t count) {