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);