You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This warning is produced when compiling the latest version of imgui-sfml:
imgui-SFML.cpp: In function 'void ImGui::SFML::UpdateFontTexture()':
imgui-SFML.cpp:584:19: warning: ignoring return value of
'bool sf::Texture::create(unsigned int, unsigned int)', declared with attribute 'nodiscard' [-Wunused-result]
584 | texture.create(width, height);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
We would need to react on failure, possibly by printing some sort of error message to the console, or by propagating a return value up the stack to the caller of Init.
The text was updated successfully, but these errors were encountered:
This warning is produced when compiling the latest version of
imgui-sfml
:We would need to react on failure, possibly by printing some sort of error message to the console, or by propagating a return value up the stack to the caller of
Init
.The text was updated successfully, but these errors were encountered: