DGLE-HQ / DGLE

Powerful independent cross-platform engine for 2D/3D games and visualizations. Young, strong and crazy!
http://dgle.dronprogs.org
GNU Lesser General Public License v3.0
162 stars 39 forks source link

Strange behavior of WM_ACTIVATEAPP on Win10. #229

Open megaDRONe86 opened 8 years ago

megaDRONe86 commented 8 years ago

This even could occur before any plugin was inited through EPT_INIT event. In this case it broke stuff for example in D3D9 renderer. Also there is strange break in code that forwards code execution to the next case in some situations. https://github.com/DGLE-HQ/DGLE/blob/master/src/engine/platform/windows/MainWindow.cpp#L100

megaDRONe86 commented 8 years ago

Detailed information on issue: When D3D9 tries to go fullscreen it cause window reinit process in Windows and WM_ACTIVEAPP happens that cause wrong behavior in all engines subsystems.