SliderScalar: Improved assert when using U32 or U64 types with a large v_max value. (#2765)

+  misc minor stuff.
This commit is contained in:
omar
2019-08-28 12:31:43 +02:00
parent bcdb89ab07
commit c8418015c2
3 changed files with 5 additions and 4 deletions

View File

@ -1789,7 +1789,7 @@ struct ImDrawCmd
ImDrawCallback UserCallback; // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally.
void* UserCallbackData; // The draw callback code can access this.
ImDrawCmd() { ElemCount = 0; ClipRect.x = ClipRect.y = ClipRect.z = ClipRect.w = 0.0f; TextureId = (ImTextureID)NULL; VtxOffset = IdxOffset = 0; UserCallback = NULL; UserCallbackData = NULL; }
ImDrawCmd() { ElemCount = 0; TextureId = (ImTextureID)NULL; VtxOffset = IdxOffset = 0; UserCallback = NULL; UserCallbackData = NULL; }
};
// Vertex index