Debugged the area sampling of the fragmentshader.

This commit is contained in:
steffen 2017-09-03 20:33:22 +02:00
parent fa19643fa0
commit 8dcc04b7b2
3 changed files with 15 additions and 11 deletions

View file

@ -124,7 +124,7 @@ class Structure:
if alternateprograms == None:
program_id = key
else:
assert key in alternateprograms.keys
assert key in alternateprograms
program_id = alternateprograms[key]
glUseProgram(program_id)
check_error("Renderingprogram is not initialized!")