Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sample code to test is opengl2 driver is found

if (HC_QShow_Existence("/driver/opengl2", "self"))
{ 2 /* opengl2 driver found */ }