Add the missing keyword and ASSERT

Change-Id: I74f371a4cf7dec808e9bf6ecffbda578e93ef5fd
This commit is contained in:
kamdiedrich
2020-05-07 00:47:10 +02:00
committed by sys_ocldev
parent ae17fdf63b
commit b7e65150d3
2 changed files with 2 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ void MockGmmResourceInfo::setSurfaceFormat() {
for (auto &format : formatArray) {
if (mockResourceCreateParams.Format == format.GMMSurfaceFormat) {
surfaceFormatInfo = &format;
ASSERT_NE(nullptr, surfaceFormatInfo);
return;
}
}