MovingBlocks / Terasology

Terasology - open source voxel world
http://terasology.org
Apache License 2.0
3.69k stars 1.34k forks source link

fix(rendering): avoid glBindFramebufferEXT to fix MacOS crash #5260

Closed skaldarnar closed 4 months ago

skaldarnar commented 4 months ago

Resolves #5242 Resolves #5055

Co-authored-by: a-ivanov (@a-ivanov)

jdrueckert commented 4 months ago

Read up a bit, seems like the EXT variants are for extension support for FBO which was necessary for OpenGL < 3.0 Since OpenGL 3.0 FBOs are supported as a core feature, so the "regular" calls can be used. As per our download page we require OpenGL 3.3, so I believe we can safely merge this.