From af2f4f8ab50a209502b929082b11a7a07e6c5499 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Jul 2014 20:45:15 +0300 Subject: Fix code style. --- src/utils/glxhelper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils/glxhelper.cpp') diff --git a/src/utils/glxhelper.cpp b/src/utils/glxhelper.cpp index 1624b6309..bd50d8c61 100644 --- a/src/utils/glxhelper.cpp +++ b/src/utils/glxhelper.cpp @@ -36,7 +36,7 @@ static int ErrorHandler(Display *d A_UNUSED, XErrorEvent *e A_UNUSED) return 0; } -void *GlxHelper::createContext(const unsigned int window, +void *GlxHelper::createContext(const unsigned long window, void *const display0, const int major, const int minor) @@ -61,7 +61,7 @@ void *GlxHelper::createContext(const unsigned int window, XSetErrorHandler(handler); return context; } - int glxAttribs[] = + int glxAttribs[] = { GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RED_SIZE, 3, @@ -117,7 +117,7 @@ void *GlxHelper::createContext(const unsigned int window, return context2; } -bool GlxHelper::makeCurrent(const unsigned int window, +bool GlxHelper::makeCurrent(const unsigned long window, void *const display, void *const context) { -- cgit v1.2.3-70-g09d2