HDC hdc,
INT iLayerPlane )
{
- return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0, WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB);
+ return stw_create_context_attribs(hdc, iLayerPlane, 0, 1, 0, 0,
+ WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB);
}
DHGLRC
return 0;
/*
- * GDI only knows about displayable pixel formats, so determine the pixel format
- * from the framebuffer.
+ * GDI only knows about displayable pixel formats, so determine the pixel
+ * format from the framebuffer.
*
* TODO: Remove the GetPixelFormat() above, and stop relying on GDI.
*/
/* Bind the new framebuffer */
ctx->hdc = hdc;
- ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st, fb->stfb, fb->stfb);
+ ret = stw_dev->stapi->make_current(stw_dev->stapi, ctx->st,
+ fb->stfb, fb->stfb);
stw_framebuffer_reference(&ctx->current_framebuffer, fb);
} else {
ret = stw_dev->stapi->make_current(stw_dev->stapi, NULL, NULL, NULL);
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;
}
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);
}