| 829 | } |
| 830 | |
| 831 | unsigned int Renderer::checkFramebufferStatus( unsigned int target ) { |
| 832 | static pglCheckFramebufferStatus eeglCheckFramebufferStatus = NULL; |
| 833 | |
| 834 | if ( NULL == eeglCheckFramebufferStatus ) |
| 835 | eeglCheckFramebufferStatus = |
| 836 | (pglCheckFramebufferStatus)getProcAddress( "glCheckFramebufferStatus" ); |
| 837 | |
| 838 | if ( NULL != eeglCheckFramebufferStatus ) |
| 839 | return (unsigned int)eeglCheckFramebufferStatus( target ); |
| 840 | |
| 841 | return 0; |
| 842 | } |
| 843 | |
| 844 | void Renderer::discardFramebuffer( unsigned int target, int numAttachments, |
| 845 | const unsigned int* attachments ) { |