mesa: whitespace fixes in context.c
Remove trailing whitespace, replace tabs with spaces. Trivial.
This commit is contained in:
parent
84dbf68378
commit
2fac98f865
|
@ -1547,6 +1547,7 @@ _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
handle_first_current(struct gl_context *ctx)
|
||||
{
|
||||
|
@ -1561,7 +1562,8 @@ handle_first_current(struct gl_context *ctx)
|
|||
|
||||
/* According to GL_MESA_configless_context the default value of
|
||||
* glDrawBuffers depends on the config of the first surface it is bound to.
|
||||
* For GLES it is always GL_BACK which has a magic interpretation */
|
||||
* For GLES it is always GL_BACK which has a magic interpretation.
|
||||
*/
|
||||
if (!ctx->HasConfig && _mesa_is_desktop_gl(ctx)) {
|
||||
if (ctx->DrawBuffer != _mesa_get_incomplete_framebuffer()) {
|
||||
GLenum buffer;
|
||||
|
@ -1871,6 +1873,4 @@ _mesa_Flush(void)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*@}*/
|
||||
|
|
Loading…
Reference in New Issue