CVImageBufferRef to OpenGL
glTexImage2D(GL TEXTURE2D, 0, GL_RGBA, width, height, 0, GL_BGRA, GL UNSIGNEDINT, CVPixelBufferGetBaseAddress(image));
but the texture comes out completely black. Any help?
IPhone 3GS, iOS 4, none
Developer Forums relocated!
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
IPhone 3GS, iOS 4, none
CVImageBufferRef to OpenGL