Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano <germano.costa@ig.com.br>2018-02-10 05:32:13 +0300
committerGermano <germano.costa@ig.com.br>2018-02-10 05:32:13 +0300
commit0bf615fc2464a06b3e40fc5936873b67ec6dd684 (patch)
treebebca9ae240d192b68b7c09e397d5089200b8c22 /source/blender/blenkernel/intern/blender.c
parent832f7a6648439b2b47121900d73aee6c2a710ec0 (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/blender/blenkernel/intern/blender.c')
0 files changed, 0 insertions, 0 deletions