From fc7637681dd1ebed3faebb4864d744e024b317de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Twardu=C5=9B?= Date: Tue, 19 Aug 2014 20:01:07 +0200 Subject: [PATCH] C++11/14 compatibility --- src/SFML/Window/Unix/GlxContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SFML/Window/Unix/GlxContext.cpp b/src/SFML/Window/Unix/GlxContext.cpp index 9a890695..eac6099e 100644 --- a/src/SFML/Window/Unix/GlxContext.cpp +++ b/src/SFML/Window/Unix/GlxContext.cpp @@ -234,10 +234,10 @@ void GlxContext::createContext(GlxContext* shared, unsigned int bitsPerPixel, co int nbConfigs = 0; int fbAttributes[] = { - GLX_DEPTH_SIZE, settings.depthBits, - GLX_STENCIL_SIZE, settings.stencilBits, + GLX_DEPTH_SIZE, static_cast(settings.depthBits), + GLX_STENCIL_SIZE, static_cast(settings.stencilBits), GLX_SAMPLE_BUFFERS, settings.antialiasingLevel > 0, - GLX_SAMPLES, settings.antialiasingLevel, + GLX_SAMPLES, static_cast(settings.antialiasingLevel), GLX_RED_SIZE, 8, GLX_GREEN_SIZE, 8, GLX_BLUE_SIZE, 8,