diff options
| author | Tilka <tilkax@gmail.com> | 2018-04-12 22:52:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-12 22:52:06 +0100 |
| commit | bbd1bb8eaaf7966a4c7aa27afa6c2b085321c329 (patch) | |
| tree | 1f6bb9fc0105dc5ba550ff5dd9dc58b04d8587da /Source/Core/Common/GL/GLInterface/WGL.cpp | |
| parent | 27515f4c9bdd285973a9dbe2291e867bf29813ef (diff) | |
| parent | 0e6d01220afa5e7b8124af8c1d5076769626f2fc (diff) | |
Merge pull request #6636 from phire/fix_autoformatting
Fix change in comment meaning by autoformat.
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/WGL.cpp')
| -rw-r--r-- | Source/Core/Common/GL/GLInterface/WGL.cpp | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/Source/Core/Common/GL/GLInterface/WGL.cpp b/Source/Core/Common/GL/GLInterface/WGL.cpp index 7758168de5..48f4b8c96c 100644 --- a/Source/Core/Common/GL/GLInterface/WGL.cpp +++ b/Source/Core/Common/GL/GLInterface/WGL.cpp @@ -220,6 +220,8 @@ bool cInterfaceWGL::Create(void* window_handle, bool stereo, bool core) s_backbuffer_height = theight; const DWORD stereo_flag = stereo ? PFD_STEREO : 0; + + // clang-format off static const PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMATDESCRIPTOR), // Size Of This Pixel Format Descriptor 1, // Version Number @@ -230,27 +232,19 @@ bool cInterfaceWGL::Create(void* window_handle, bool stereo, bool core) PFD_TYPE_RGBA, // Request An RGBA Format 32, // Select Our Color Depth 0, - 0, - 0, - 0, - 0, - 0, // Color Bits Ignored - 0, // 8bit Alpha Buffer - 0, // Shift Bit Ignored - 0, // No Accumulation Buffer - 0, - 0, - 0, - 0, // Accumulation Bits Ignored + 0, 0, 0, 0, 0, // Color Bits Ignored + 0, // 8bit Alpha Buffer + 0, // Shift Bit Ignored + 0, // No Accumulation Buffer + 0, 0, 0, 0, // Accumulation Bits Ignored 0, // 0Bit Z-Buffer (Depth Buffer) 0, // 0bit Stencil Buffer 0, // No Auxiliary Buffer PFD_MAIN_PLANE, // Main Drawing Layer 0, // Reserved - 0, - 0, - 0 // Layer Masks Ignored + 0, 0, 0 // Layer Masks Ignored }; + // clang-format on m_dc = GetDC(m_window_handle); if (!m_dc) |
