is_crappy_intel_card() was checking strstr(glGetString(GL_VENDOR), "Intel") every call,
better store in static var.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54851 954f8c5b-7b00-dc11-b283-0030488c597c
Check if the variable is a string and split nicely, so compile command stays intact with proper include options.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54852 954f8c5b-7b00-dc11-b283-0030488c597c