Various work on osgViewer library, including warp point and graphics window resize support
This commit is contained in:
@@ -29,6 +29,7 @@ Viewport::~Viewport()
|
||||
|
||||
void Viewport::apply(State&) const
|
||||
{
|
||||
glViewport(_x,_y,_width,_height);
|
||||
glViewport( static_cast<GLint>(_x),static_cast<GLint>(_y),
|
||||
static_cast<GLsizei>(_width),static_cast<GLsizei>(_height) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user