summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/offscreen_texture.hpp')
-rw-r--r--src/mbgl/util/offscreen_texture.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/util/offscreen_texture.hpp b/src/mbgl/util/offscreen_texture.hpp
index 1f470bd1b0..db8cfac559 100644
--- a/src/mbgl/util/offscreen_texture.hpp
+++ b/src/mbgl/util/offscreen_texture.hpp
@@ -1,7 +1,6 @@
#pragma once
-#include <mbgl/gl/types.hpp>
-#include <mbgl/gl/renderbuffer.hpp>
+#include <mbgl/gfx/renderbuffer.hpp>
#include <mbgl/util/image.hpp>
namespace mbgl {
@@ -18,7 +17,7 @@ public:
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
OffscreenTexture(gfx::Context&,
Size size,
- gl::Renderbuffer<gfx::RenderbufferPixelType::Depth>&,
+ gfx::Renderbuffer<gfx::RenderbufferPixelType::Depth>&,
gfx::TextureChannelDataType type = gfx::TextureChannelDataType::UnsignedByte);
~OffscreenTexture();
OffscreenTexture(OffscreenTexture&&);