d3d11window: Always draw to internal window
authorSeungha Yang <seungha.yang@navercorp.com>
Mon, 16 Dec 2019 07:59:07 +0000 (16:59 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Mon, 16 Dec 2019 13:24:29 +0000 (22:24 +0900)
commit64eb1d46b5d905541a2c2d65695d6f1fa54d09b4
treecb6806338e897caec77f8b06aabb92e89697db62
parent638c6d6931a1cc119db5494aa9d09d8c5a6d2dc8
d3d11window: Always draw to internal window

... and use SetParent() WIN32 API when external window is used.
Depending on DXGI swap effect, the external window might not be
reusable by another backend. To preserve the external window's property
and setting, drawing to internal window seems to be safer way.
sys/d3d11/gstd3d11window.c
sys/d3d11/gstd3d11window.h