|
@@ -215,10 +215,8 @@ static void |
|
|
puglDisplay(PuglView* view) |
|
|
puglDisplay(PuglView* view) |
|
|
{ |
|
|
{ |
|
|
glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); |
|
|
glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); |
|
|
#if 0 |
|
|
|
|
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
|
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
|
|
glLoadIdentity(); |
|
|
glLoadIdentity(); |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
if (view->displayFunc) { |
|
|
if (view->displayFunc) { |
|
|
view->displayFunc(view); |
|
|
view->displayFunc(view); |
|
|