]> git.tdb.fi Git - libs/vr.git/blobdiff - source/system.cpp
Name LibOVR classes after the API, not the device
[libs/vr.git] / source / system.cpp
index 436862e8fbde8e96dfea3d4588a5b24caf4d62e7..99a6d4871ece2486b7658eb2c1234d9ecbf6f62c 100644 (file)
@@ -4,7 +4,7 @@
 #include "openvr/openvrsystem.h"
 #endif
 #ifdef WITH_LIBOVR
-#include "ovr/oculusriftsystem.h"
+#include "libovr/libovrsystem.h"
 #endif
 
 using namespace std;
@@ -20,7 +20,7 @@ System *System::create(const string &type)
 #endif
 #ifdef WITH_LIBOVR
        if(type=="libovr")
-               return new OculusRiftSystem;
+               return new LibOVRSystem;
 #endif
        throw invalid_argument(format("system '%s' not supported", type));
 }