core/surface: fixup a few pointer handling edge cases

This commit is contained in:
Vaxry
2024-07-29 19:02:58 +02:00
parent 9c38b0fdbe
commit e673220340
3 changed files with 13 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ class CWLSurfaceResource {
int stateLocks = 0;
void destroy();
void releaseBuffers(bool onlyCurrent = true);
void commitPendingState();
void bfHelper(std::vector<SP<CWLSurfaceResource>> nodes, std::function<void(SP<CWLSurfaceResource>, const Vector2D&, void*)> fn, void* data);
};