Add tests to update 1D resource textures, bug fixes

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-15 15:01:20 +02:00
1 親 bc90c87837
コミット edfed9359b
2ファイル変更
+84 -2

検索条件に一致するファイルはありません

@@ -377,7 +377,7 @@ unsafe partial struct D2D1ResourceTextureManagerImpl
// Either both extents are available, or none is, and the other values must not be null
if (minimumExtents is null && maximimumExtents is not null ||
minimumExtents is not null && maximimumExtents is null ||
strides is null ||
(dimensions > 1 && strides is null) ||
data is null)
{
return E.E_POINTER;
@@ -506,7 +506,7 @@ unsafe partial struct D2D1ResourceTextureManagerImpl
}
}
return E.E_NOTIMPL;
return S.S_OK;
}
/// <summary>