Remove raw queries from opengl view