- Fixed gamewindow not resetting the clear-color

This commit is contained in:
Andreas Schneider 2009-12-22 21:37:16 +01:00
parent e9d90d8a39
commit 34b62f6cd0
1 changed files with 3106 additions and 3105 deletions

View File

@ -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;