mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add the missing keyword and ASSERT
Change-Id: I74f371a4cf7dec808e9bf6ecffbda578e93ef5fd
This commit is contained in:
@@ -87,6 +87,7 @@ void MockGmmResourceInfo::setSurfaceFormat() {
|
||||
for (auto &format : formatArray) {
|
||||
if (mockResourceCreateParams.Format == format.GMMSurfaceFormat) {
|
||||
surfaceFormatInfo = &format;
|
||||
ASSERT_NE(nullptr, surfaceFormatInfo);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user