Fix incorrect rotation angle for setting glViewport.
Change-Id: Ifce2acbcfc3122adbee56284b004da61d5f76910
{
Graphics::Viewport viewport{static_cast<float>(clippingBox.x), static_cast<float>(clippingBox.y), static_cast<float>(clippingBox.width), static_cast<float>(clippingBox.height), 0.0f, 0.0f};
- if(orientation == 80 || orientation == 270)
+ if(orientation == 90 || orientation == 270)
{
viewport.width = static_cast<float>(clippingBox.height);
viewport.height = static_cast<float>(clippingBox.width);