cleanup EGL/D3D texture rendering
This commit is contained in:
@@ -297,6 +297,8 @@ class FilamentControllerFFI extends FilamentController {
|
||||
throw Exception("Failed to get resource loader");
|
||||
}
|
||||
|
||||
var renderingSurface = await _createRenderingSurface();
|
||||
|
||||
if (Platform.isWindows && requiresTextureWidget) {
|
||||
_driver = Pointer<Void>.fromAddress(
|
||||
await _channel.invokeMethod("getDriverPlatform"));
|
||||
@@ -309,7 +311,6 @@ class FilamentControllerFFI extends FilamentController {
|
||||
var renderCallbackOwner =
|
||||
Pointer<Void>.fromAddress(renderCallbackResult[1]);
|
||||
|
||||
var renderingSurface = await _createRenderingSurface();
|
||||
|
||||
print("Got rendering surface");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user