From 49242f8a0aeea2e25e20c5efb435aaa223dec854 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Thu, 3 Sep 2020 18:15:09 +0100 Subject: [PATCH] Auto-replace texture2D with texture to fix issues with deprecated function names (#1278) --- Robust.Client/Graphics/Clyde/Shaders/z-library.glsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robust.Client/Graphics/Clyde/Shaders/z-library.glsl b/Robust.Client/Graphics/Clyde/Shaders/z-library.glsl index 2d26164234..613d8b3c6e 100644 --- a/Robust.Client/Graphics/Clyde/Shaders/z-library.glsl +++ b/Robust.Client/Graphics/Clyde/Shaders/z-library.glsl @@ -4,9 +4,10 @@ // It's literally just called the Z-Library for alphabetical ordering reasons. // - 20kdc -// -- varying/attribute -- +// -- varying/attribute/texture2D -- #ifndef HAS_VARYING_ATTRIBUTE +#define texture2D texture #ifdef VERTEX_SHADER #define varying out #define attribute in