mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-29 04:35:49 +03:00
Fixed PVS Studio false positive.
This commit is contained in:
parent
7c9f0c148c
commit
2de0a07cd4
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue