Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast to ImTextureID instead of void* to enable redefinition of ImText… #2015

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

cranflavin
Copy link
Contributor

imgui.h is set up to enable custom defines of ImTextureID, but imgui_impl_dx12.cpp casts directly to void* instead of whatever ImTextureID has been defined as. Changing this enables building in 32-bit by defining ImTextureID as UINT64.

@ocornut ocornut merged commit 9c08050 into ocornut:master Aug 9, 2018
@ocornut
Copy link
Owner

ocornut commented Aug 9, 2018

Thanks, merged and applied same fix to all other imgui_impl_ files.

ocornut added a commit that referenced this pull request Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants