summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_ext_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_ext_context.c')
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_context.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.c b/src/gallium/state_trackers/wgl/stw_ext_context.c
index a3470ac..862d037 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_context.c
+++ b/src/gallium/state_trackers/wgl/stw_ext_context.c
@@ -102,7 +102,8 @@ wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList)
return NULL;
}
- if ((contextFlags & WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB) && majorVersion < 3) {
+ if ((contextFlags & WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB) &&
+ majorVersion < 3) {
SetLastError(ERROR_INVALID_VERSION_ARB);
return NULL;
}
@@ -114,6 +115,8 @@ wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList)
return NULL;
}
- return (HGLRC) stw_create_context_attribs( hDC, layerPlane, (DHGLRC)(UINT_PTR)hShareContext,
- majorVersion, minorVersion, contextFlags, profileMask );
+ return (HGLRC) stw_create_context_attribs(hDC, layerPlane,
+ (DHGLRC) (UINT_PTR) hShareContext,
+ majorVersion, minorVersion,
+ contextFlags, profileMask);
}