Переглянути джерело

Merge branch 'data-separation' of github.com:Almamu/linux-wallpaperengine into data-separation

Alexis Maiquez 5 роки тому
батько
коміт
4a1f91d548
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/WallpaperEngine/Render/Shaders/Compiler.cpp

+ 2 - 2
src/WallpaperEngine/Render/Shaders/Compiler.cpp

@@ -319,7 +319,7 @@ namespace WallpaperEngine::Render::Shaders
                     this->ignoreSpaces (it);
                     std::string name = this->extractName (it); BREAK_IF_ERROR
                     this->ignoreSpaces (it);
-                    std::string array = this->extractArray (it); BREAK_IF_ERROR
+                    std::string array = this->extractArray (it, false); BREAK_IF_ERROR
                     this->ignoreSpaces (it);
                     this->expectSemicolon (it); BREAK_IF_ERROR
                     this->ignoreSpaces (it);
@@ -353,7 +353,7 @@ namespace WallpaperEngine::Render::Shaders
                     this->ignoreSpaces (it);
                     std::string name = this->extractName (it); BREAK_IF_ERROR
                     this->ignoreSpaces (it);
-                    std::string array = this->extractArray (it); BREAK_IF_ERROR
+                    std::string array = this->extractArray (it, false); BREAK_IF_ERROR
                     this->ignoreSpaces (it);
                     this->expectSemicolon (it); BREAK_IF_ERROR