I uncomment “#define USE_PROGRAMMABLE_GL” , comment out the code below and I finally successed to compile it.
if( glDrawElementsInstanced == 0 ){
ofLogFatalError("App") << " glDrawElementsInstanced is needed for this example but it is not supported by your graphics card. Exiting App.";
return -1;
}
looks like there is an issue with the way we’re checking the extension.
you can remove the check for now, we’ll make sure this is fixed in the next patch release.
Hi everyone, I did the corrections suggested but I’m stil facing this error when trying to run this example. (It compiles perfectly)
I commented out what @theo suggested in main.cpp, #define USE_PROGRAMMABLE_GL. It didn’t work, then I commented out the same line in testApp.h, so I had the two lines uncommented in both files.
Finally I tryed commented out in .h but not in the main.cpp and viceversa. It didn’t work either. Any ideas? Thanks!