Wrong required OpenGL extensions in simpleGL ex.?

simpleGL.cu:

   if (! glewIsSupported( "GL_VERSION_2_0 " 

        "GL_ARB_pixel_buffer_object"

  )) {

        fprintf( stderr, "ERROR: Support for necessary OpenGL extensions missing.");

        fflush( stderr);

        return CUTFalse;

    }

Why there is checking for GL2.0 and PBO?

Probably that example need only GL 1.5 for creating/drawing/destroying VBO and ARB_vertex_buffer_object for void checkResultCuda().

Good point, the PBO extension is not necessary for this sample, this code was probably cut and paste from another example.

All GPUs that will run Cuda support this extension anyway.