I have been playing around with SDL 2.0 but after searching I haven\'t found anything online about how to support retina macs. When creating a window using the following cod
Current versions of SDL2 have support for retina.
To create a retina window, pass a flag SDL_WINDOW_ALLOW_HIGHDPI into SDL_CreateWindow().
SDL_WINDOW_ALLOW_HIGHDPI
SDL_CreateWindow()
After a resize event, you can check the actual buffer resolution with the API call SDL_GL_GetDrawableSize().
SDL_GL_GetDrawableSize()