Changeset 1145


Ignore:
Timestamp:
Feb 25, 2012, 2:38:45 PM (8 years ago)
Author:
sam
Message:

test: remove a useless cast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/tut03.cpp

    r1144 r1145  
    5757        m_size.x = (m_size.x + 15) & ~15;
    5858        m_size.y = (m_size.y + 15) & ~15;
    59         m_texel_settings = vec4(1.0, 1.0, 2.0, 2.0) / (vec4)m_size.xyxy;
    60         m_screen_settings = vec4(1.0, 1.0, 0.5, 0.5) * (vec4)m_size.xyxy;
     59        m_texel_settings = vec4(1.0, 1.0, 2.0, 2.0) / m_size.xyxy;
     60        m_screen_settings = vec4(1.0, 1.0, 0.5, 0.5) * m_size.xyxy;
    6161
    6262        /* Window size decides the world aspect ratio. For instance, 640×480
Note: See TracChangeset for help on using the changeset viewer.