mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
these qDebugs happen too late and cause a crash
This commit is contained in:
parent
0876dbc809
commit
804f25740d
2 changed files with 5 additions and 5 deletions
|
@ -758,7 +758,7 @@ void OpenGLDisplayPlugin::render(std::function<void(gpu::Batch& batch)> f) {
|
|||
|
||||
|
||||
OpenGLDisplayPlugin::~OpenGLDisplayPlugin() {
|
||||
qDebug() << "Destroying OpenGLDisplayPlugin";
|
||||
// qDebug() << "Destroying OpenGLDisplayPlugin";
|
||||
}
|
||||
|
||||
void OpenGLDisplayPlugin::updateCompositeFramebuffer() {
|
||||
|
|
|
@ -285,10 +285,10 @@ GL45Texture::GL45Texture(const std::weak_ptr<GLBackend>& backend, const Texture&
|
|||
}
|
||||
|
||||
GL45Texture::~GL45Texture() {
|
||||
// External textures cycle very quickly, so don't spam the log with messages about them.
|
||||
if (!_gpuObject.getUsage().isExternal()) {
|
||||
qCDebug(gpugl45logging) << "Destroying texture " << _id << " from source " << _source.c_str();
|
||||
}
|
||||
// // External textures cycle very quickly, so don't spam the log with messages about them.
|
||||
// if (!_gpuObject.getUsage().isExternal()) {
|
||||
// qCDebug(gpugl45logging) << "Destroying texture " << _id << " from source " << _source.c_str();
|
||||
// }
|
||||
|
||||
// Remove this texture from the candidate list of derezzable textures
|
||||
if (_transferrable) {
|
||||
|
|
Loading…
Reference in a new issue