From fe8cbfecbfba0b0dac7da7304559bcf4d626dca7 Mon Sep 17 00:00:00 2001 From: niki Date: Mon, 19 Sep 2022 15:43:25 +0200 Subject: [PATCH] vulkan: remove shader version code --- src/modules/graphics/Graphics.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index 0a999e332..535f2cac4 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -368,9 +368,6 @@ Shader *Graphics::newShader(const std::vector &stagessource, const for (const std::string &source : stagessource) { Shader::SourceInfo info = Shader::getSourceInfo(source); - if (capabilities.features[FEATURE_GLSL4]) { - info.language = Shader::LANGUAGE_GLSL4; - } bool isanystage = false; for (int i = 0; i < SHADERSTAGE_MAX_ENUM; i++)