style(cpp): separate multiple variable declarations (#4795)

This commit is contained in:
David Lane
2026-03-01 09:02:17 -05:00
committed by GitHub
parent 2b7af2119d
commit 188f1e2959
19 changed files with 134 additions and 65 deletions

View File

@@ -206,7 +206,8 @@ namespace wl {
gl::ctx.BindTexture(GL_TEXTURE_2D, (*rgb_opt)->tex[0]);
// Don't remove these lines, see https://github.com/LizardByte/Sunshine/issues/453
int w, h;
int h;
int w;
gl::ctx.GetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &w);
gl::ctx.GetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &h);
BOOST_LOG(debug) << "width and height: w "sv << w << " h "sv << h;