SDL2 MacOS Mojave OpenGL frame drops

Since updating to Mojave I’ve noticed a really bad issue with frame drops with my current game. It should be running around 40-45fps on my MacBook Air, but was getting frame drops for 2/3/4 frames after so the game looked like it was only running at 8-10fps even if the game “runs” at doing update & draw at 40fps.

Temporary solution… I capped the game’s framerate on MacOS to 30fps and no more frame drops. Obviously not a permanent solution but atleast it is workable and playable.

Haven’t encountered the issue on iOS, Windows, or Android.