mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
glsl: fix warnings, update comments, s/TRUE/GL_TRUE/
This commit is contained in:
parent
cc22620e4b
commit
7fdd64ab29
1 changed files with 4 additions and 3 deletions
|
|
@ -1300,14 +1300,15 @@ error:
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
* Remove the continuation characters from the input string.
|
||||
* This is the very first step in preprocessing and is effective
|
||||
* even inside comment blocks.
|
||||
* If there is a whitespace between a backslash and a newline,
|
||||
* this is not considered as a line continuation.
|
||||
* \return GL_TRUE for success, GL_FALSE otherwise.
|
||||
*/
|
||||
GLboolean
|
||||
static GLboolean
|
||||
_slang_preprocess_backslashes(slang_string *output,
|
||||
const char *input)
|
||||
{
|
||||
|
|
@ -1334,7 +1335,7 @@ _slang_preprocess_backslashes(slang_string *output,
|
|||
slang_string_pushc(output, *input++);
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue