Operating System: win10
Render System: dx11
I'm trying to obtain the windows handle after the creation of window using ogrebites with SDL2 with this instructions
Code: Select all
m_hWnd = (HWND)getRenderWindow()->getCustomAttribute("WINDOW");
I tried with various dimension variable but the error remains. Inside the routine the value of variable ret seems ok before leave the function, so it seems this happen when the value return to the destination field.
Any idea what could be the problem? thanks