Use SDL C runtime functions in OpenVR driver
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

Fixes link errors when building with -DSDL_LIBC=OFF
This commit is contained in:
Sam Lantinga
2025-02-22 12:41:03 -08:00
parent 7224b40407
commit 52e64f816c
+1 -1
View File
@@ -911,7 +911,7 @@ static SDL_GLContext OPENVR_GL_CreateContext(SDL_VideoDevice *_this, SDL_Window
OPENVR_SetupFrame(_this, window);
SDL_GLContext result = malloc(sizeof(struct SDL_GLContextState));
SDL_GLContext result = SDL_malloc(sizeof(struct SDL_GLContextState));
if (!result) {
return NULL;
}