Absent-mindedness...Remove testing code
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 17 Jul 2015 17:13:22 +0000 (19:13 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 17 Jul 2015 17:13:22 +0000 (19:13 +0200)
source/blender/blenkernel/intern/cdderivedmesh.c

index 9c3102aced5672b99d7d6db34254e11be08dcf59..8d91fe8d559bd4df78978fd89d226d99ee15ad5a 100644 (file)
@@ -872,8 +872,7 @@ static void cdDM_drawMappedFacesGLSL(
        glShadeModel(GL_SMOOTH);
 
        /* workaround for NVIDIA GPUs on Mac not supporting vertex arrays + interleaved formats, see T43342 */
-       //GPU_type_matches(GPU_DEVICE_NVIDIA, GPU_OS_MAC, GPU_DRIVER_ANY) &&
-       if (((U.gameflags & USER_DISABLE_VBO)) ||
+       if ((GPU_type_matches(GPU_DEVICE_NVIDIA, GPU_OS_MAC, GPU_DRIVER_ANY) && (U.gameflags & USER_DISABLE_VBO)) ||
            setDrawOptions != NULL)
        {
                DMVertexAttribs attribs;