in samples, default to driver opengl version as target