Simplify opengl texture warnings