- 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);
|
procedure TfrmMain.oglGameWindowPaint(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
|
glClearColor(0, 0, 0, 1);
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
InitRender;
|
InitRender;
|
||||||
|
|
Loading…
Reference in New Issue