From a3e0c51094079ac30cae81983c275fba64347e67 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 27 Apr 2021 00:55:57 +1000 Subject: [PATCH] openglrenderer: disable array warning message It's quite likely the renderer will never support arrays, and that's okay! --- app/render/opengl/openglrenderer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/render/opengl/openglrenderer.cpp b/app/render/opengl/openglrenderer.cpp index 9047a6b73..85e73e038 100644 --- a/app/render/opengl/openglrenderer.cpp +++ b/app/render/opengl/openglrenderer.cpp @@ -162,7 +162,6 @@ void OpenGLRenderer::ClearDestination(double r, double g, double b, double a) QVariant OpenGLRenderer::CreateNativeTexture2D(int width, int height, VideoParams::Format format, int channel_count, const void *data, int linesize) { - GLuint texture; functions_->glGenTextures(1, &texture); @@ -370,7 +369,7 @@ void OpenGLRenderer::Blit(QVariant s, ShaderJob job, Texture *destination, Video const NodeValue& value = it.value(); if (value.array()) { - qWarning() << "FIXME: Array support is currently a stub"; + continue; } switch (value.type()) {