Skip to content

Commit

Permalink
Fix multi-character character constant compiler warning (LizardByte#765)
Browse files Browse the repository at this point in the history
Co-authored-by: KuleRucket <[email protected]>
  • Loading branch information
KuleRucket and KuleRucket authored Jan 17, 2023
1 parent fa14b6e commit 4ef97c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/linux/wlgrab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class wlr_ram_t : public wlr_t {
int w, h;
gl::ctx.GetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &w);
gl::ctx.GetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &h);
BOOST_LOG(debug) << "width and height: w "sv << w << ' h ' << h;
BOOST_LOG(debug) << "width and height: w "sv << w << " h "sv << h;

gl::ctx.GetTextureSubImage((*rgb_opt)->tex[0], 0, 0, 0, 0, width, height, 1, GL_BGRA, GL_UNSIGNED_BYTE, img_out_base->height * img_out_base->row_pitch, img_out_base->data);
gl::ctx.BindTexture(GL_TEXTURE_2D, 0);
Expand Down

0 comments on commit 4ef97c7

Please sign in to comment.