   glfw gldrawbuffer(gl_none)?
  Hi, fairly new to gl so probably something i'm doing wrong. I'm using glfw and trying to write only to the depth buffer and disable writing to the colour buffer with gldrawbuffer(gl_none) which causes a complete crash of my comp, it seems to work ok when i use gl_front or gl_back but not when it's gl_none. Anyone know of any cause and/or solution?   
Quote:Original post by StonemonkeyI'm using glfw and trying to write only to the depth buffer and disable writing to the colour bufferThis can easily be done with glColorMask(0, 0, 0, 0);Set the booleans to 1 to enable color writing again.   ;  Thanks for that deavik, any particular reason why what i was trying was wrong?   