- Fixed gamewindow not resetting the clear-color
This commit is contained in:
parent
e9d90d8a39
commit
34b62f6cd0
|
@ -1408,6 +1408,7 @@ end;
|
|||
|
||||
procedure TfrmMain.oglGameWindowPaint(Sender: TObject);
|
||||
begin
|
||||
glClearColor(0, 0, 0, 1);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
InitRender;
|
||||
|
|
Loading…
Reference in New Issue