updated: CGLCustomMeshRenderer::RenderMeshWithCurrentProgram()
updated: CGLProgram::SetTexture()
updated: GLSLTextureResourceVisitor

Merged the duplicate code.
updated: OBBTreeTest
updated: CMultibyteFontTest