瀏覽代碼

neercs: initialise POD types in TextRender.

master
Sam Hocevar 12 年之前
父節點
當前提交
de6d6a45a7
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      neercs/video/text-render.cpp

+ 2
- 1
neercs/video/text-render.cpp 查看文件

@@ -36,7 +36,8 @@ TextRender::TextRender(caca_canvas_t *caca, ivec2 font_size)
m_canvas_size(caca_get_canvas_width(m_caca),
caca_get_canvas_height(m_caca)),
m_fbo_size(m_font_size * m_canvas_size),
m_cells(m_canvas_size.x * m_canvas_size.y)
m_cells(m_canvas_size.x * m_canvas_size.y),
m_vbo1(0), m_vbo2(0), m_vbo3(0), m_fbo(0)
{
}



Loading…
取消
儲存