Skip to content

Instantly share code, notes, and snippets.

View Seneral's full-sized avatar

Seneral Seneral

View GitHub Profile
@Seneral
Seneral / imgui_impl_opengl3.cpp.diff
Last active October 18, 2024 21:56
Dear ImGUI OpenGL integrated rendering - integrate GL views, update views and labels with partial rendering when UI and rest of screen is only updated on events
diff --git a/backends/imgui_impl_opengl3.cpp b/backends/imgui_impl_opengl3.cpp
index 2a4b1d7..aff8dbc
--- a/backends/imgui_impl_opengl3.cpp
+++ b/backends/imgui_impl_opengl3.cpp
@@ -114,6 +114,7 @@
#endif
#include "imgui.h"
+#include "imgui_internal.h"
#ifndef IMGUI_DISABLE
@Seneral
Seneral / start_monado.sh
Last active June 29, 2025 20:32
Monado launch script !! Has to be configured !! Configures which OpenVR compatibility layer and which monado build to launch, with support for multiple GPUs, and automatic insertion of launch options
#!/usr/bin/env sh
# Automatically configure OVR interface - config files have to be created beforehand!
OVR="$(echo $1 | tr '[:upper:]' '[:lower:]')"
if [[ $OVR != "steamvr" && $OVR != "xrizer" && $OVR != "opencomposite" ]]; then
OVR=opencomposite
fi
OVR_CFG=~/.config/openvr/openvrpaths.vrpath.$OVR
if [[ -f $OVR_CFG ]]; then
rm ~/.config/openvr/openvrpaths.vrpath