Instead of looking at availability of a GL context, check the memory's type. That's what we do everywhere else and GL is not special.
Instead of looking at availability of a GL context, check the memory's type. That's what we do everywhere else and GL is not special.