Fix a typo in translateTexFilter
Use glTexParameteri
Correct magFilter everywhere