Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-07-17 20:13:22 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-07-17 20:13:22 +0300
commite6711119f217782315f83e8403d4aeca25db2104 (patch)
treef224d572f44bbbe2e9d442672f9912aafcfa4c00
parent712098b1c8faa0aa39ce313ee55c513b6c8547c2 (diff)
Absent-mindedness...Remove testing code
-rw-r--r--source/blender/blenkernel/intern/cdderivedmesh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c
index 9c3102aced5..8d91fe8d559 100644
--- a/source/blender/blenkernel/intern/cdderivedmesh.c
+++ b/source/blender/blenkernel/intern/cdderivedmesh.c
@@ -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;