From 5e33707f6a0aded2682491d1291dfe314d8ed733 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 15 Nov 2013 07:10:21 -0700 Subject: [PATCH] ensure 80-column max formatting in gl-subsystem.c --- libobs-opengl/gl-subsystem.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libobs-opengl/gl-subsystem.c b/libobs-opengl/gl-subsystem.c index 1fd58ba9e..fb22a255d 100644 --- a/libobs-opengl/gl-subsystem.c +++ b/libobs-opengl/gl-subsystem.c @@ -45,16 +45,19 @@ void convert_sampler_info(struct gs_sampler_state *sampler, glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &max_anisotropy_max); gl_success("glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX)"); - if (1 <= sampler->max_anisotropy && sampler->max_anisotropy <= max_anisotropy_max) + if (1 <= sampler->max_anisotropy && + sampler->max_anisotropy <= max_anisotropy_max) return; - if (sampler->max_anisotropy < 1) sampler->max_anisotropy = 1; + if (sampler->max_anisotropy < 1) + sampler->max_anisotropy = 1; else if (sampler->max_anisotropy > max_anisotropy_max) sampler->max_anisotropy = max_anisotropy_max; - blog(LOG_INFO, "convert_sampler_info: 1 <= max_anisotropy <= %d violated, " - "selected: %d, set: %d", max_anisotropy_max, - info->max_anisotropy, sampler->max_anisotropy); + blog(LOG_INFO, "convert_sampler_info: 1 <= max_anisotropy <= " + "%d violated, selected: %d, set: %d", + max_anisotropy_max, + info->max_anisotropy, sampler->max_anisotropy); } device_t device_create(struct gs_init_data *info)