Commit 7d5dc5c7 authored by Philip Trettner's avatar Philip Trettner

small fix

parent 207bf6a4
......@@ -372,7 +372,7 @@ void BoundFramebuffer::attachDepth(GLenum depthFormat)
// no update viewport needed because size cannot change
}
void BoundFramebuffer::setViewport(const glm::ivec2& size) { glViewport(0, 0, size.x, size.y); }
void BoundFramebuffer::setViewport(const tg::isize2& size) { glViewport(0, 0, size.width, size.height); }
BoundFramebuffer::BoundFramebuffer(Framebuffer* buffer) : buffer(buffer)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment