~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to Nux/WindowCompositor.cpp

  • Committer: Jay Taoko
  • Date: 2011-10-21 23:49:15 UTC
  • mfrom: (508.1.2 nux-20)
  • Revision ID: jay.taoko@canonical.com-20111021234915-hnzakb5ndebica8i
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1414
1414
        {
1415
1415
          if (rt.color_rt.IsValid() /*&& rt.depth_rt.IsValid()*/)
1416
1416
          {
1417
 
            t_s32 buffer_width = window->GetBaseWidth();
1418
 
            t_s32 buffer_height = window->GetBaseHeight();
 
1417
            int buffer_width = window->GetBaseWidth();
 
1418
            int buffer_height = window->GetBaseHeight();
1419
1419
 
1420
1420
            if ((rt.color_rt->GetWidth() != buffer_width) ||
1421
1421
                (rt.color_rt->GetHeight() != buffer_height))
1531
1531
 
1532
1532
  void WindowCompositor::RenderMainWindowComposition(bool force_draw)
1533
1533
  {
1534
 
    t_s32 buffer_width, buffer_height;
 
1534
    int buffer_width, buffer_height;
1535
1535
 
1536
1536
    buffer_width = GetWindowThread()->GetGraphicsEngine().GetWindowWidth();
1537
1537
    buffer_height = GetWindowThread()->GetGraphicsEngine().GetWindowHeight();
1610
1610
    if (HWTexture.IsNull())
1611
1611
      return;
1612
1612
 
1613
 
    t_s32 window_width, window_height;
 
1613
    int window_width, window_height;
1614
1614
    window_width = GetWindowThread()->GetGraphicsEngine().GetWindowWidth();
1615
1615
    window_height = GetWindowThread()->GetGraphicsEngine().GetWindowHeight();
1616
1616