This patch makes it such that the GPU context required for the compositor is only created when the GPU compositor is in use. This should fix #121761 for the CPU compositor, but generally also make the CPU compositor more robust to such errors in the future, and a tiny bit faster since context creation is skipped. Pull Request: https://projects.blender.org/blender/blender/pulls/122420