diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-05-27 16:12:57 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-05-28 21:09:44 +0000 |
commit | a47dbb010f2bf423a6f0a63bae6676a2788cdfdb (patch) | |
tree | 68c2c0906699b5d9422036bda07f6e486481d458 /src/plugins/platforms/windows/qwindowsnativeinterface.cpp | |
parent | bccdb62340659cfdf4e0f8b53180fb73fda6ea39 (diff) |
windows: Use EGL extensions as they ought to be used
We take some shortcuts still because we know that with ANGLE the header
with the extension constants is always available. A proper implementation
would not rely on the constants being available and would dynamically
check for the extension and would take care of defining the constants if
not available. However, just getting the extension list to check if the
functions needed to get the display are available is already a chicken-egg
problem so we won't go there.
Using eglGetProcAddress properly solves the issues with static builds too
since this always works.
Task-number: QTBUG-46284
Change-Id: Iff23669ebacaffa0c5f76fd2c928af689307874f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Gunnar Roth
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions