- predefine the vertex data for the blend overlay which will never change throughout the lifetime of the GLRenderer object.
This commit is contained in:
parent
d7c0dda722
commit
8daaf61160
6 changed files with 24 additions and 18 deletions
|
|
@ -164,7 +164,7 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
//int h = GetHeight();
|
||||
//glViewport(0, (trueH - h)/2, GetWidth(), GetHeight());
|
||||
|
||||
GLRenderer->Initialize();
|
||||
GLRenderer->Initialize(GetWidth(), GetHeight());
|
||||
GLRenderer->SetOutputViewport(nullptr);
|
||||
Begin2D(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue