mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Fix clang compile failure in GuiModel: use static_cast<short> in initializer list
This commit is contained in:
parent
6e2c637578
commit
7d67082a10
1 changed files with 2 additions and 2 deletions
|
@ -395,9 +395,9 @@ void idGuiModel::EmitImGui( ImDrawData* drawData )
|
|||
idScreenRect clipRect =
|
||||
{
|
||||
static_cast<short>( pcmd->ClipRect.x ),
|
||||
io.DisplaySize.y - static_cast<short>( pcmd->ClipRect.w ),
|
||||
static_cast<short>( io.DisplaySize.y - pcmd->ClipRect.w ),
|
||||
static_cast<short>( pcmd->ClipRect.z ),
|
||||
io.DisplaySize.y - static_cast<short>( pcmd->ClipRect.y ),
|
||||
static_cast<short>( io.DisplaySize.y - pcmd->ClipRect.y ),
|
||||
0.0f,
|
||||
1.0f
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue