diff options
author | Sven Gothel <[email protected]> | 2015-03-28 01:43:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-28 01:43:35 +0100 |
commit | 4207f9c279e832e3afcb3f5fc6cd8d84cb4cfe4c (patch) | |
tree | cf3671058d55b47ab6cb6f36f369928606137628 /LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp | |
parent | c29cd1a2fbff6282bab956ad61661ac9d48c4e6e (diff) |
Bump OculusVR RIFT SDK to 0.5.0.1vanilla_0.5.0.1
Diffstat (limited to 'LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp')
-rw-r--r-- | LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp b/LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp index 3d76f69..aa9acfc 100644 --- a/LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp +++ b/LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp @@ -25,8 +25,8 @@ limitations under the License. *******************************************************************************/ #include "OVR_Linux_SDKWindow.h" -#include "../Kernel/OVR_Log.h" -#include "../Kernel/OVR_Log.h" +#include "Kernel/OVR_Log.h" +#include "Kernel/OVR_Log.h" #include "../../../3rdParty/EDID/edid.h" namespace OVR { @@ -257,6 +257,7 @@ bool SDKWindow::getVisualFromDrawable(GLXDrawable drawable, XVisualInfo* vinfoOu XVisualInfo* chosen = glXGetVisualFromFBConfig(display, *config); *vinfoOut = *chosen; XFree(config); + XFree(chosen); return true; } return false; |