program tested & fixed on nvidia hardware, texture segfault etc.