PDA

View Full Version : Playing Videos - BGR extension



Coluna
06-12-2003, 07:38 PM
I'm playing some videos in my app, but the frames are on BGR formar, so i have to flip them...i read about the gl_bgr_ext(or something like)...can anybody tells me how to use it? and whats the best way for playing videos with opengl?

Bob
06-13-2003, 02:59 AM
Just specify GL_BGR instead of GL_RGB as the format of your data. You may need to download glext.h from here (http://oss.sgi.com/projects/ogl-sample/registry/) first.