angeluriot / Dimension3D

A simple graphics library (2D, 3D and windows).
MIT License
46 stars 10 forks source link

Builds and runs an example on ubuntu podman container with gcc-12 #8

Closed TheFloatingBrain closed 12 months ago

TheFloatingBrain commented 2 years ago

Bug squashing fixes #5 and #6

angeluriot commented 2 years ago

texture2D was deprecated, but your other modification does not compile on my computer

TheFloatingBrain commented 2 years ago

texture2D was deprecated, but your other modification does not compile on my computer

Oh dear :laughing: How to resolve this in a standard compliant way without undefined behavior?

What OS + Compiler are you using, also what standard, I compiled with C++20

angeluriot commented 2 years ago

I use MSVC on Windows with C++17.

Lecrapouille commented 7 months ago

Same compilation error (strangely not happening with CMake). See https://github.com/ocornut/imgui/issues/1848