| 426 | // DGL specific, build-specific drawing prepare |
| 427 | |
| 428 | void puglOnDisplayPrepare(PuglView*) |
| 429 | { |
| 430 | #ifdef DGL_OPENGL |
| 431 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
| 432 | #ifndef DGL_USE_OPENGL3 |
| 433 | glLoadIdentity(); |
| 434 | #endif |
| 435 | #endif |
| 436 | } |
| 437 | |
| 438 | // -------------------------------------------------------------------------------------------------------------------- |
| 439 | // DGL specific, build-specific fallback resize |