From 6df865de3e72d0235b2fc799050691e032e7e92d Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 4 Mar 2023 18:57:44 +0100 Subject: [PATCH] fix warning for release builds for opengl es / webgl --- framework/opengl_primitives/src/mm/opengl/texture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/opengl_primitives/src/mm/opengl/texture.cpp b/framework/opengl_primitives/src/mm/opengl/texture.cpp index 3530a95..19fa85e 100644 --- a/framework/opengl_primitives/src/mm/opengl/texture.cpp +++ b/framework/opengl_primitives/src/mm/opengl/texture.cpp @@ -97,6 +97,7 @@ Texture::handle_t Texture::createEmptyMultiSampled(int32_t internalFormat, int32 (void)height; (void)samples; assert(false && "GLES has no multisampling support"); + return nullptr; #endif }