Add end-of-line spaces checker
This commit is contained in:
@@ -84,11 +84,11 @@ namespace Nz
|
||||
for (std::size_t i = 0; i < bindingCount; ++i)
|
||||
{
|
||||
const Binding& binding = bindings[i];
|
||||
|
||||
|
||||
std::visit([&](auto&& arg)
|
||||
{
|
||||
using T = std::decay_t<decltype(arg)>;
|
||||
|
||||
|
||||
if constexpr (std::is_same_v<T, SampledTextureBinding>)
|
||||
HandleTextureBinding(binding.bindingIndex, arg);
|
||||
else if constexpr (std::is_same_v<T, SampledTextureBindings>)
|
||||
|
||||
@@ -333,7 +333,7 @@ namespace Nz::GL
|
||||
{
|
||||
// WGL_ARB_pixel_format and WGL_EXT_pixel_format are the same, except for the symbol
|
||||
auto wglChoosePixelFormat = (currentContext->wglChoosePixelFormatARB) ? currentContext->wglChoosePixelFormatARB : currentContext->wglChoosePixelFormatEXT;
|
||||
|
||||
|
||||
if (wglChoosePixelFormat)
|
||||
{
|
||||
std::array<int, 10 * 2 + 1> attributes = {
|
||||
|
||||
Reference in New Issue
Block a user