fix glGetTexParameter; fixes #2112