mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fixing PR build
This commit is contained in:
parent
861200db27
commit
ecaf162afb
2 changed files with 3 additions and 4 deletions
|
@ -67,7 +67,6 @@ OffscreenSurface::OffscreenSurface()
|
|||
|
||||
OffscreenSurface::~OffscreenSurface() {
|
||||
delete _sharedObject;
|
||||
const_cast<SharedObject*>(_sharedObject) = nullptr;
|
||||
}
|
||||
|
||||
bool OffscreenSurface::fetchTexture(TextureAndFence& textureAndFence) {
|
||||
|
|
|
@ -453,8 +453,8 @@ protected:
|
|||
return vec3();
|
||||
}
|
||||
|
||||
bool isAboutToQuit() const override { return false; }
|
||||
void postLambdaEvent(std::function<void()> f) override {}
|
||||
void postLambdaEvent(const std::function<void()>& f) override {}
|
||||
void sendLambdaEvent(const std::function<void()>& f) override {}
|
||||
|
||||
qreal getDevicePixelRatio() override {
|
||||
return 1.0f;
|
||||
|
@ -469,7 +469,7 @@ protected:
|
|||
}
|
||||
|
||||
std::map<void*, std::function<void()>> _postUpdateLambdas;
|
||||
void pushPostUpdateLambda(void* key, std::function<void()> func) override {
|
||||
void pushPostUpdateLambda(void* key, const std::function<void()>& func) override {
|
||||
_postUpdateLambdas[key] = func;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue