| 763 | } |
| 764 | |
| 765 | void Renderer::framebufferTexture2D( unsigned int target, unsigned int attachment, |
| 766 | unsigned int textarget, unsigned int texture, int level ) { |
| 767 | static pglFramebufferTexture2D eeglFramebufferTexture2D = NULL; |
| 768 | |
| 769 | if ( NULL == eeglFramebufferTexture2D ) |
| 770 | eeglFramebufferTexture2D = |
| 771 | (pglFramebufferTexture2D)getProcAddress( "glFramebufferTexture2D" ); |
| 772 | |
| 773 | if ( NULL != eeglFramebufferTexture2D ) |
| 774 | eeglFramebufferTexture2D( target, attachment, textarget, texture, level ); |
| 775 | } |
| 776 | |
| 777 | void Renderer::genRenderbuffers( int n, unsigned int* renderbuffers ) { |
| 778 | static pglGenRenderbuffers eeglGenRenderbuffers = NULL; |