diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index c670a764c..d613e5568 100644 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -538,7 +538,7 @@ void WindowImplWin32::CreateContext(const VideoMode& Mode, WindowSettings& Param std::cerr << "Failed to find a pixel format supporting " << Params.AntialiasingLevel << " antialiasing levels ; trying with 2 levels" << std::endl; - Params.AntialiasingLevel = IntAttributes[1] = 2; + Params.AntialiasingLevel = IntAttributes[11] = 2; IsValid = wglChoosePixelFormatARB(myDeviceContext, IntAttributes, FloatAttributes, sizeof(Formats) / sizeof(*Formats), Formats, &NbFormats) != 0; }