Fixed VS2010 compile errors.
Fixed VS2010 compile errors.

Also, disabled DEPTH_TEST for framebuffer blits.

jcowles/OpenSubdiv,c64kernal/OpenSubdiv,lookup1980/OpenSubdiv,anshuarya/OpenSubdiv,nyotis/OpenSubdiv,takahito-tejima/OpenSubdiv-exp,takahito-tejima/OpenSubdiv,lookup1980/OpenSubdiv,jcowles/OpenSubdiv,poljere/OpenSubdiv,shengfuintel/OpenSubdiv,anshuarya/OpenSubdiv,poljere/OpenSubdiv,takahito-tejima/OpenSubdiv-exp,shengfuintel/OpenSubdiv,takahito-tejima/OpenSubdiv,xldeveloper/OpenSubdiv,c64kernal/OpenSubdiv,takahito-tejima/OpenSubdiv-exp,xldeveloper/OpenSubdiv,anshuarya/OpenSubdiv,poljere/OpenSubdiv,xldeveloper/OpenSubdiv,takahito-tejima/OpenSubdiv,jcowles/OpenSubdiv,shengfuintel/OpenSubdiv,lookup1980/OpenSubdiv,c64kernal/OpenSubdiv,takahito-tejima/OpenSubdiv-exp,nyotis/OpenSubdiv,nyotis/OpenSubdiv