[WIN32SS:GDI] Add a sanity assert

This commit is contained in:
Victor Perevertkin 2021-09-13 23:37:34 +03:00
parent 655ddfa8e2
commit d74eb54b06
No known key found for this signature in database
GPG key ID: C750B7222E9C7830

View file

@ -365,6 +365,7 @@ EngpCreatePDEV(
} }
else else
{ {
ASSERT(gpPrimaryGraphicsDevice);
pGraphicsDevice = gpPrimaryGraphicsDevice; pGraphicsDevice = gpPrimaryGraphicsDevice;
} }