From f8857158ce22dc1055be852be3c0796edf67a92a Mon Sep 17 00:00:00 2001 From: milek7 Date: Sun, 14 Oct 2018 23:46:22 +0200 Subject: [PATCH] fix map --- map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map.cpp b/map.cpp index 18f6ad62..5fd3ec88 100644 --- a/map.cpp +++ b/map.cpp @@ -16,7 +16,7 @@ bool map::init() m_shader = std::unique_ptr(prog); m_tex = std::make_unique(); - m_tex->alloc_rendertarget(GL_RGB4, GL_RGB, GL_FLOAT, fb_size, fb_size); + m_tex->alloc_rendertarget(GL_RGB4, GL_RGB, fb_size, fb_size); m_fb = std::make_unique(); m_fb->attach(*m_tex, GL_COLOR_ATTACHMENT0);