Take out SGL_TEXTURE_2D from opengl_state_machine.h