mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add virtual destructor to GPUSurfaceSoftwareDelegate. (flutter/engine#13918)
This commit is contained in:
parent
d053943e7c
commit
a48601803b
@ -6,6 +6,8 @@
|
||||
|
||||
namespace flutter {
|
||||
|
||||
GPUSurfaceSoftwareDelegate::~GPUSurfaceSoftwareDelegate() = default;
|
||||
|
||||
ExternalViewEmbedder* GPUSurfaceSoftwareDelegate::GetExternalViewEmbedder() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@ -26,6 +26,8 @@ namespace flutter {
|
||||
///
|
||||
class GPUSurfaceSoftwareDelegate {
|
||||
public:
|
||||
virtual ~GPUSurfaceSoftwareDelegate();
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
/// @brief Called when the GPU surface needs a new buffer to render a new
|
||||
/// frame into.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user