mausimus / ShaderGlass

Overlay for running GPU shaders on top of Windows desktop
GNU General Public License v3.0
898 stars 35 forks source link

Exception thrown after starting when a display/window is selected. Works fine with images. #76

Open Skyro468 opened 6 months ago

Skyro468 commented 6 months ago

If I launch shaderglass with --pause and select an image to use ShaderGlass on, it does so just fine when I start. However, as soon as I select a window or display it closes to desktop. Launched Visual Studio debugger and it throws this exception as soon as I start after selecting a window or display. Trying to figure out what is causing it but I am not very good at this sort of thing yet. source\repos\ShaderGlass\ShaderGlass\Util\capture.desktop.interop.h Exception thrown at 0x00007FF9755DCF19 in ShaderGlass.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000E8BD7FD720. Call Stack: > ShaderGlass.exe!util::CreateCaptureItemForMonitor(HMONITOR__ * hmon) Line 20 C++