fixed tabbed banner, shader setting

This commit is contained in:
langolierz
2019-08-03 15:50:31 +00:00
parent 638bde828f
commit 50fc94cccb
8 changed files with 68 additions and 30 deletions

View File

@@ -61,6 +61,8 @@ class Shaders(object):
def determine_shader_parameter_number(self, path):
max_amount = 4
if True: # for now always assume 4 params
return max_amount
with open(path, 'r') as selected_shader:
shader_text = selected_shader.read()
for i in range(max_amount):