From 9b4a813b8634753db7024542140b215193994db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 1 Jan 2023 23:29:01 +0100 Subject: [PATCH] DebugTools,Shaders,TextureTools: null-terminate shader resources. --- src/Magnum/DebugTools/resources.conf | 1 + src/Magnum/Shaders/resources-gl.conf | 1 + src/Magnum/TextureTools/resources.conf | 1 + 3 files changed, 3 insertions(+) diff --git a/src/Magnum/DebugTools/resources.conf b/src/Magnum/DebugTools/resources.conf index f9d480144e..c5224ac907 100644 --- a/src/Magnum/DebugTools/resources.conf +++ b/src/Magnum/DebugTools/resources.conf @@ -1,4 +1,5 @@ group=MagnumDebugTools +nullTerminated=true [file] filename=TextureImage.vert diff --git a/src/Magnum/Shaders/resources-gl.conf b/src/Magnum/Shaders/resources-gl.conf index 57a1c346e5..1e28aaf8b6 100644 --- a/src/Magnum/Shaders/resources-gl.conf +++ b/src/Magnum/Shaders/resources-gl.conf @@ -1,4 +1,5 @@ group=MagnumShadersGL +nullTerminated=true [file] filename=Flat.vert diff --git a/src/Magnum/TextureTools/resources.conf b/src/Magnum/TextureTools/resources.conf index 51ca5065e4..acc76119f5 100644 --- a/src/Magnum/TextureTools/resources.conf +++ b/src/Magnum/TextureTools/resources.conf @@ -1,4 +1,5 @@ group=MagnumTextureTools +nullTerminated=true [file] filename=../Shaders/FullScreenTriangle.glsl