diff options
author | Neil <nyamatongwe@gmail.com> | 2025-02-09 21:32:47 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-02-09 21:32:47 +1100 |
commit | 883a12357e66c08d9519671b278fd19cb5009570 (patch) | |
tree | 00974a9f42c8bd941b4a5aefacabcf10c9314c92 /src | |
parent | 4c032434c9e1181bb6a66348905f5e0f1c43f25a (diff) | |
download | scintilla-mirror-883a12357e66c08d9519671b278fd19cb5009570.tar.gz |
Add RenderTargets to hold one render target at a time, either Hwnd or DC.
Drawing code just needs one or the other but other calls need a particular type
with casting hiding potential problems. This will be more important in the
future when a third type of render target ID2D1DeviceContext will be added.
Use unique_ptr more for render targets to ensure they are freed correctly.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions