Remove GraphicsDevice.Default property and APIs
このコミットが含まれているのは:
1 親
ea0f792ae6
コミット
4e5acba69c
19ファイル変更
+67
-115
検索条件に一致するファイルはありません
@@ -77,6 +77,6 @@ class Program
|
||||
{
|
||||
string filename = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "Textures", $"{name}.png");
|
||||
|
||||
return GraphicsDevice.Default.LoadReadOnlyTexture2D<Rgba32, float4>(filename);
|
||||
return GraphicsDevice.GetDefault().LoadReadOnlyTexture2D<Rgba32, float4>(filename);
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする