Skip to content

Commit

Permalink
Fix header
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Dec 29, 2024
1 parent 1dc14b5 commit 87f6975
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions util/godot/classes/image_texture_3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
#define ZN_GODOT_IMAGE_TEXTURE_3D_H

#if defined(ZN_GODOT)
#include <core/version.h>

#if VERSION_MAJOR == 4 && VERSION_MINOR <= 1
#include <scene/resources/texture.h>
#else
#include <scene/resources/image_texture.h>
#endif

#elif defined(ZN_GODOT_EXTENSION)
#include <godot_cpp/classes/image_texture3d.hpp>
using namespace godot;
Expand Down

0 comments on commit 87f6975

Please sign in to comment.