Absent-mindedness...Remove testing code

This commit is contained in:
Antonis Ryakiotakis 2015-07-17 19:13:22 +02:00
parent 712098b1c8
commit e6711119f2
1 changed files with 1 additions and 2 deletions

View 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;