| 390 | |
| 391 | |
| 392 | Display *getCurrentDisplay(void) |
| 393 | { |
| 394 | if(fconfig.egl) |
| 395 | { |
| 396 | FakePbuffer *pb = PBHASHEGL.find(getCurrentDrawableEGL()); |
| 397 | return pb ? pb->getDisplay() : NULL; |
| 398 | } |
| 399 | else return _glXGetCurrentDisplay(); |
| 400 | } |
| 401 | |
| 402 | |
| 403 | GLXDrawable getCurrentDrawable(void) |
no test coverage detected