mirror of https://github.com/auygun/kaliber.git
Fix for compiler warning
This commit is contained in:
parent
3c54bc474c
commit
214ae33246
|
@ -158,7 +158,7 @@ void ImguiBackend::Draw() {
|
||||||
if (pcmd->ClipRect.z <= pcmd->ClipRect.x ||
|
if (pcmd->ClipRect.z <= pcmd->ClipRect.x ||
|
||||||
pcmd->ClipRect.w <= pcmd->ClipRect.y)
|
pcmd->ClipRect.w <= pcmd->ClipRect.y)
|
||||||
continue;
|
continue;
|
||||||
auto texture_id = reinterpret_cast<uint64_t>(pcmd->GetTexID());
|
uint64_t texture_id = reinterpret_cast<uintptr_t>(pcmd->GetTexID());
|
||||||
renderer_->ActivateTexture(texture_id, 0);
|
renderer_->ActivateTexture(texture_id, 0);
|
||||||
renderer_->SetScissor(int(pcmd->ClipRect.x), int(pcmd->ClipRect.y),
|
renderer_->SetScissor(int(pcmd->ClipRect.x), int(pcmd->ClipRect.y),
|
||||||
int(pcmd->ClipRect.z - pcmd->ClipRect.x),
|
int(pcmd->ClipRect.z - pcmd->ClipRect.x),
|
||||||
|
|
Loading…
Reference in New Issue