Debugged the area sampling of the fragmentshader.
This commit is contained in:
parent
fa19643fa0
commit
8dcc04b7b2
3 changed files with 15 additions and 11 deletions
Objects
|
@ -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!")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue