mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
remove unused variable
This commit is contained in:
parent
40d584021a
commit
be102ba926
1 changed files with 0 additions and 1 deletions
|
@ -650,7 +650,6 @@ QImage OpenGLDisplayPlugin::getScreenshot() const {
|
|||
using namespace oglplus;
|
||||
QImage screenshot(_compositeFramebuffer->size.x, _compositeFramebuffer->size.y, QImage::Format_RGBA8888);
|
||||
withMainThreadContext([&] {
|
||||
auto windowSize = toGlm(_container->getPrimaryWidget()->size());
|
||||
Framebuffer::Bind(Framebuffer::Target::Read, _compositeFramebuffer->fbo);
|
||||
Context::ReadPixels(0, 0, _compositeFramebuffer->size.x, _compositeFramebuffer->size.y, enums::PixelDataFormat::RGBA, enums::PixelDataType::UnsignedByte, screenshot.bits());
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue