From ce6f94bf78921d5fe74f096359c2ac36d537cd92 Mon Sep 17 00:00:00 2001 From: arturo Date: Fri, 28 Mar 2014 13:43:46 +0100 Subject: [PATCH] ofVbo: don't use VAOs unless GL3+, Closes #2580 --- libs/openFrameworks/gl/ofVbo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openFrameworks/gl/ofVbo.cpp b/libs/openFrameworks/gl/ofVbo.cpp index 9d06f187ae6..231b1a63ab6 100644 --- a/libs/openFrameworks/gl/ofVbo.cpp +++ b/libs/openFrameworks/gl/ofVbo.cpp @@ -327,7 +327,7 @@ void ofVbo::setVertexData(const float * vert0x, int numCoords, int total, int us } #else if(!vaoChecked){ - supportVAOs = ofGetGLProgrammableRenderer() || glewIsSupported("GL_ARB_vertex_array_object"); + supportVAOs = ofGetGLProgrammableRenderer();// || glewIsSupported("GL_ARB_vertex_array_object"); <- this should work but has false positives on some cards like emulation in vm's vaoChecked = true; } #endif