Skip to content

Commit a52fd1e

Browse files
committed
Print what shader is loading so we have a chance to debug stuff
1 parent 1dc5e2b commit a52fd1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

demosys/loaders/program/single.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def load(self):
1010
if not self.meta.resolved_path:
1111
raise ValueError("Cannot find program '{}'".format(self.meta.path))
1212

13+
print("Loading:", self.meta.path)
14+
1315
with open(self.meta.resolved_path, 'r') as fd:
1416
shaders = program.ProgramShaders.from_single(self.meta, fd.read())
1517

0 commit comments

Comments
 (0)