Clear depth buffer, but only depth buffer for gears.

This commit is contained in:
Kristian Høgsberg 2008-11-05 07:38:46 -05:00
parent 8a9cda8cfb
commit b8bf19b7a9
2 changed files with 3 additions and 0 deletions

View file

@ -154,6 +154,7 @@ draw_window(struct window *window)
window->config, window->name,
window->width, window->height,
window->stride, NULL);
if (surface == NULL)
die("failed to create surface\n");