[nostalgia/core/studio] Fix cast of 32 bit int to pointer
This commit is contained in:
parent
c80a8838a4
commit
fdc57ce7b8
@ -276,8 +276,9 @@ void TileSheetEditorImGui::drawTileSheet(const geo::Vec2 &fbSize) noexcept {
|
||||
glViewport(0, 0, fbSizei.width, fbSizei.height);
|
||||
m_tileSheetEditor.draw();
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
uintptr_t buffId = m_framebuffer.color.id;
|
||||
ImGui::Image(
|
||||
reinterpret_cast<void*>(m_framebuffer.color.id),
|
||||
reinterpret_cast<void*>(buffId),
|
||||
static_cast<ImVec2>(fbSize),
|
||||
ImVec2(0, 1),
|
||||
ImVec2(1, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user