remove superseded destroyTexture method (call texture.dispose() instead)

This commit is contained in:
Nick Fisher
2025-03-05 17:32:48 +08:00
parent 5b80dd3a3d
commit 2915655695
3 changed files with 0 additions and 14 deletions

View File

@@ -1897,13 +1897,6 @@ class ThermionViewerFFI extends ThermionViewer {
return FFILinearImage(ptr);
}
///
///
///
Future destroyTexture(FFITexture texture) async {
destroy_texture(_sceneManager!, texture.pointer.cast<Void>());
}
///
///
///

View File

@@ -803,10 +803,6 @@ abstract class ThermionViewer {
///
Future<LinearImage> createImage(int width, int height, int channels);
///
///
///
Future destroyTexture(covariant ThermionTexture texture);
///
///