aboutsummaryrefslogtreecommitdiff
path: root/src/rendering/texture_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering/texture_manager.cpp')
-rw-r--r--src/rendering/texture_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rendering/texture_manager.cpp b/src/rendering/texture_manager.cpp
index ad2c68b..3afba0d 100644
--- a/src/rendering/texture_manager.cpp
+++ b/src/rendering/texture_manager.cpp
@@ -1,13 +1,13 @@
#include "texture_manager.h"
-#include "platform/opengl/opengl_texture.h"
-#include "platform/opengl/opengl_renderer_api.h"
+#include "renderer.h"
+
#include <glad/glad.h>
namespace Donut
{
auto TextureManager::create_texture(uint32_t width, uint32_t height) -> Ref<Texture2D>
{
- return create_ref<OpenGLTexture2D>(width, height);
+ return create_ref<Texture2D>(width, height);
}
auto TextureManager::bind_texture(uint32_t texture_id, uint32_t slot) -> void