Fix for compiler warning

This commit is contained in:
Attila Uygun 2023-11-04 00:12:55 +01:00
parent 3c54bc474c
commit 214ae33246
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ void ImguiBackend::Draw() {
if (pcmd->ClipRect.z <= pcmd->ClipRect.x ||
pcmd->ClipRect.w <= pcmd->ClipRect.y)
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_->SetScissor(int(pcmd->ClipRect.x), int(pcmd->ClipRect.y),
int(pcmd->ClipRect.z - pcmd->ClipRect.x),