mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
shader: Fix compiler warning
This commit is contained in:
parent
9508b040e7
commit
7505112f1d
@ -2876,7 +2876,7 @@ r_preprocess_source(ostream &out, istream &in, const Filename &fn,
|
|||||||
source_dir = full_fn.get_dirname();
|
source_dir = full_fn.get_dirname();
|
||||||
incfn = incfile;
|
incfn = incfile;
|
||||||
|
|
||||||
} else if (sscanf(line.c_str(), " # pragma%*[ \t]include <%2047[^\>]> %zn", incfile, &nread) == 1
|
} else if (sscanf(line.c_str(), " # pragma%*[ \t]include <%2047[^>]> %zn", incfile, &nread) == 1
|
||||||
&& nread == line.size()) {
|
&& nread == line.size()) {
|
||||||
// Angled includes are also OK, but we don't search in the directory
|
// Angled includes are also OK, but we don't search in the directory
|
||||||
// of the source file.
|
// of the source file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user