Skip to content

Commit fa6b2de

Browse files
committed
fix: verbose version
1 parent cc64947 commit fa6b2de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/shader-lab/src/preprocessor/PpParser.ts

+2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ export class PpParser {
105105

106106
private static reportError(loc: ShaderRange | ShaderPosition, message: string, source: string, file: string) {
107107
const error = ShaderLabUtils.createGSError(message, GSErrorName.PreprocessorError, source, loc, file);
108+
// #if _VERBOSE
108109
this._errors.push(error);
110+
// #endif
109111
}
110112

111113
private static _parseInclude(scanner: PpScanner) {

0 commit comments

Comments
 (0)