andyborrell / imgui_tex_inspect

A texture inspector tool for Dear ImGui
MIT License
79 stars 16 forks source link

Moved modulus function down to avoid translation unit errors #7

Open robertmotr opened 7 months ago

robertmotr commented 7 months ago

Self -explanatory, not sure if this is an MSVC thing where the compiler looks ahead for functions defined afterwards (I'm on linux), but on g++/nvcc I get errors that ImFloorSigned wasn't declared.

robertmotr commented 7 months ago

Also, changed the makefile for the sdl_opengl3 example to use the imgui_impl_sdl2 file instead of just imgui_impl_sdl because thats no longer a thing in the imgui repo anymore.