mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: remove shader version code
This commit is contained in:
@@ -368,9 +368,6 @@ Shader *Graphics::newShader(const std::vector<std::string> &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++)
|
||||
|
||||
Reference in New Issue
Block a user