mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-21 06:41:09 +00:00
Fixed PVS Studio false positive.
This commit is contained in:
@@ -722,6 +722,7 @@ void ImDrawList::_SetTexture(ImTextureRef tex_ref)
|
||||
|
||||
void ImDrawList::_SetPixelDensity(float pixel_density)
|
||||
{
|
||||
IM_ASSERT(pixel_density > 0.0f);
|
||||
_FringeScale = 1.0f / pixel_density;
|
||||
_InvFringeScale = pixel_density;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user