aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-28 02:08:11 +0100
committerSven Gothel <[email protected]>2015-03-28 02:08:11 +0100
commit450aa6f7df9e67dd256b86f94e65eaf707032aad (patch)
tree04aa207d84ddc8ca246d2573aaaf756b3ce8a0b5 /LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp
parent3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4 (diff)
parent4207f9c279e832e3afcb3f5fc6cd8d84cb4cfe4c (diff)
Merge branch 'vanilla_0.5.0.1' into jogamp_0.5.0.1
Conflicts: LibOVR/Include/OVR_CAPI_0_5_0.h LibOVR/Src/CAPI/CAPI_HMDState.cpp LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h LibOVR/Src/Kernel/OVR_System.cpp LibOVR/Src/OVR_CAPI.cpp LibOVR/Src/OVR_Profile.cpp LibOVRKernel/Src/Kernel/OVR_ThreadsWinAPI.cpp LibOVRKernel/Src/Kernel/OVR_Types.h
Diffstat (limited to 'LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp')
-rw-r--r--LibOVR/Src/Displays/OVR_Linux_SDKWindow.cpp5
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;