aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_ext_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-06-25 14:57:41 -0600
committerBrian Paul <[email protected]>2012-06-25 16:10:01 -0600
commit345ee593e91e14173cbc08a647b008855b7638ca (patch)
treef2e59b3784cec76548c8197b3854220cd5a9e586 /src/gallium/state_trackers/wgl/stw_ext_context.c
parent19534579cff3ffed665b3b8475e392048f7152ee (diff)
st/wgl: 80-column wrapping
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 a3470ac35a5..862d037be2c 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);
}