Merge pull request #330 from Nazg-Gul/dev

Fix crashes when using rather low-end cards like Intel ones
Merge pull request #331 from Nazg-Gul/dev

Fix mismatch in declaration and usage of OsdCudaComputeRestrictedVertexA