~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/gameengine/GamePlayer/common/GPC_Canvas.cpp

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-05-12 20:02:22 UTC
  • mfrom: (14.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20120512200222-lznjs2cxzaq96wua
Tags: 2.63a-1
* New upstream bugfix release
  + debian/patches/: re-worked since source code changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
{
89
89
        m_width = width;
90
90
        m_height = height;
 
91
 
 
92
        // initialize area so that it's available for game logic on frame 1 (ImageViewport)
 
93
        m_displayarea.m_x1 = 0;
 
94
        m_displayarea.m_y1 = 0;
 
95
        m_displayarea.m_x2 = width;
 
96
        m_displayarea.m_y2 = height;
91
97
}
92
98
 
93
99
void GPC_Canvas::EndFrame()