in client/src/3d_task.cpp, around line 200, after creating the driver but before initializing the display add this:

        if(CConfigFileTask::instance().configFile().getVar("NativeFragmentProgramsOnly").asInt() == 0)
          Driver->forceNativeFragmentPrograms(false);
