fixed viewport issues

This commit is contained in:
itsmattkc
2019-10-23 01:12:15 +11:00
parent 0c04e59a48
commit c38b4dca99
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ bool RenderInstance::Start()
buffer_.Create(ctx_);
// Set viewport to the compositing dimensions
ctx_->functions()->glViewport(0, 0, params_.width(), params_.height());
ctx_->functions()->glViewport(0, 0, params_.effective_width(), params_.effective_height());
ctx_->functions()->glEnable(GL_BLEND);
// Set up default pipeline