mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
This commit is contained in:
parent
f5b9cbaff6
commit
b8b4580448
137 changed files with 847 additions and 1269 deletions
|
|
@ -29,6 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "shader_language.h"
|
||||
|
||||
#include "core/os/os.h"
|
||||
#include "core/string/print_string.h"
|
||||
#include "servers/rendering_server.h"
|
||||
|
|
@ -632,7 +633,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
|
|||
|
||||
char32_t last_char = str[str.length() - 1];
|
||||
|
||||
if (hexa_found) { // Integer(hex)
|
||||
if (hexa_found) { // Integer (hex).
|
||||
if (str.size() > 11 || !str.is_valid_hex_number(true)) { // > 0xFFFFFFFF
|
||||
return _make_token(TK_ERROR, "Invalid (hexadecimal) numeric constant");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue