diff options
Diffstat (limited to 'methods.py')
-rw-r--r-- | methods.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods.py b/methods.py index cb3b39ac68..c1245cd95a 100644 --- a/methods.py +++ b/methods.py @@ -2,6 +2,7 @@ import os import re import glob import subprocess +from collections import OrderedDict def add_source_files(self, sources, files, warn_duplicates=True): @@ -138,7 +139,7 @@ def parse_cg_file(fname, uniforms, sizes, conditionals): def detect_modules(at_path): - module_list = {} # name : path + module_list = OrderedDict() # name : path modules_glob = os.path.join(at_path, "*") files = glob.glob(modules_glob) |