This commit is contained in:
Nishi 2026-09-27 07:23:30 +09:00
commit 23f3401b59
2 changed files with 2 additions and 1 deletions

View file

@ -481,7 +481,7 @@ static void scan_widget(xl_node_t* node) {
OFS = std::ofstream("src/widget/" + lowercase(name) + ".cc");
if(name == "OpenGL" || name == "Vulkan") OFS << "#define MW_" + uppercase(name) + "_NO_INCLUDE" << std::endl;
if(name == "OpenGL" || name == "Vulkan" || name == "Direct3D9") OFS << "#define MW_" + uppercase(name) + "_NO_INCLUDE" << std::endl;
OFS << "#include <MwCXX/Widget/" + name + ".h>" << std::endl;
OFS << std::endl;

View file

@ -1,3 +1,4 @@
#define MW_DIRECT3D9_NO_INCLUDE
#include <MwCXX/Widget/Direct3D9.h>
MwCXX::Direct3D9::Direct3D9(MwWidget widget, MwCXX::Base* parent)