u3d-community / U3D

Open-source, cross-platform 2D and 3D game engine built in C++
https://u3d.io
MIT License
187 stars 30 forks source link

Always include Texture2D.h in Graphics.cpp #43

Closed SirNate0 closed 1 year ago

SirNate0 commented 1 year ago

Commit 6d08bcd added an #ifdef _WIN32 around the #include "../Graphics/Texture2D.h" for no apparent reason. This caused an incomplete type error where Texture2D is registered when I was testing the Diligent backend.