RazortoothRTC / rayfork

C99 Game Library. XNA-like. Platform Independent. Allocator Aware.
The Unlicense
0 stars 0 forks source link

raylib supports openGL abstraction / how to extend to support alternatives to OpenGL? #4

Open truedat101 opened 4 months ago

truedat101 commented 4 months ago

I haven't dug into the approach but will need to understand this. Under the hood, linux systems are probably now preferring VK / Wayland over X11/GL. For Mac platforms, it's Metal or maybe MetalVK. The old GL 3.2 still works, but we can't rely on that forever. BGFX has figured this out, and bitten the bullet on how to handle the challenge of both the backend and the shaders.

truedat101 commented 4 months ago

Sokol has figured this out so perhaps these are just configuration things to handle in the build.

truedat101 commented 4 months ago

Also clear that there is zero interest in supporting anything other than a GL model going forward, upstream. WebGL maybe?