diff options
author | Germano <germano.costa@ig.com.br> | 2018-02-10 05:32:13 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-02-10 05:32:13 +0300 |
commit | 0bf615fc2464a06b3e40fc5936873b67ec6dd684 (patch) | |
tree | bebca9ae240d192b68b7c09e397d5089200b8c22 /source | |
parent | 832f7a6648439b2b47121900d73aee6c2a710ec0 (diff) |
GHOST: Optimize and simplify the creation of a GHOST_Context on Windows
Instead of cloning the window to create dummyHWNDs and dummyHDCs to avoid calling the SetPixelFormat more than once in the same window, use the original window and HDC and do not call the SetPixelFormat again.
In addition to avoiding a lot of unnecessary calls, it simplifies the code and makes it match the others OS
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions