Unfortunately Godot 4 doesn't yet have OpenGL support, since they rewrote so much of the engine code. They hope to have it back in 4.1, though!