For Hegel, the realist element drops out entirely: the subject generates both content and form. The subject is in no way responsive to an external reality; instead, the whole of reality is a creation of the subject.
The Matrix is a Hegelian nightmare.