mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-15 05:42:23 +08:00
~ Fixed a mistake in the variable parsing for the shader pre-compiler, arrays are not always expected
Signed-off-by: Alexis Maiquez Murcia <almamu@almamu.com>
This commit is contained in:
parent
a0ed644491
commit
e89e80c2b8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user