瀏覽代碼

test: remove a useless cast.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
03250fa321
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      test/tutorial/tut03.cpp

+ 2
- 2
test/tutorial/tut03.cpp 查看文件

@@ -56,8 +56,8 @@ public:
m_size = size;
m_size.x = (m_size.x + 15) & ~15;
m_size.y = (m_size.y + 15) & ~15;
m_texel_settings = vec4(1.0, 1.0, 2.0, 2.0) / (vec4)m_size.xyxy;
m_screen_settings = vec4(1.0, 1.0, 0.5, 0.5) * (vec4)m_size.xyxy;
m_texel_settings = vec4(1.0, 1.0, 2.0, 2.0) / m_size.xyxy;
m_screen_settings = vec4(1.0, 1.0, 0.5, 0.5) * m_size.xyxy;

/* Window size decides the world aspect ratio. For instance, 640×480
* will be mapped to (-0.66,-0.5) - (0.66,0.5). */


Loading…
取消
儲存