The only way to get a core profile context of the highest version using CreateContextAttrib is to try creationg contexts in decreasing version numbers. It might look that asking for a core context of version (0, 0) works on some driver but it create a _compatibility_ context of the highest version instead which might not be supported on some drivers. BUG=angleproject:1994 Change-Id: Ic8a33243909c54ea5940ee81c9c866b141bea420 Reviewed-on: https://chromium-review.googlesource.com/480739 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by:Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| D3DTextureSurfaceWGL.cpp | Loading commit data... | |
| D3DTextureSurfaceWGL.h | Loading commit data... | |
| DXGISwapChainWindowSurfaceWGL.cpp | Loading commit data... | |
| DXGISwapChainWindowSurfaceWGL.h | Loading commit data... | |
| DisplayWGL.cpp | Loading commit data... | |
| DisplayWGL.h | Loading commit data... | |
| FunctionsWGL.cpp | Loading commit data... | |
| FunctionsWGL.h | Loading commit data... | |
| PbufferSurfaceWGL.cpp | Loading commit data... | |
| PbufferSurfaceWGL.h | Loading commit data... | |
| WindowSurfaceWGL.cpp | Loading commit data... | |
| WindowSurfaceWGL.h | Loading commit data... | |
| functionswgl_typedefs.h | Loading commit data... | |
| wgl_utils.cpp | Loading commit data... | |
| wgl_utils.h | Loading commit data... |