diff --git a/src/framework/graphics/framebuffer.cpp b/src/framework/graphics/framebuffer.cpp index 9686643c7..04a74a7f0 100644 --- a/src/framework/graphics/framebuffer.cpp +++ b/src/framework/graphics/framebuffer.cpp @@ -29,6 +29,8 @@ #include #include +#include "framework/core/graphicalapplication.h" + uint32_t FrameBuffer::boundFbo = 0; FrameBuffer::FrameBuffer() diff --git a/src/framework/graphics/hardwarebuffer.cpp b/src/framework/graphics/hardwarebuffer.cpp index 6cd52c2b2..d3f18405b 100644 --- a/src/framework/graphics/hardwarebuffer.cpp +++ b/src/framework/graphics/hardwarebuffer.cpp @@ -26,6 +26,8 @@ #include #include +#include "framework/core/graphicalapplication.h" + HardwareBuffer::HardwareBuffer(const Type type) :m_type(type) { glGenBuffers(1, &m_id);