🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Help, packed DIB and opengl

Started by
-1 comments, last by dms 24 years, 1 month ago
I am using Vfw.h and its functions to get the packed DIB off each AVI frame. This is what I do: pPackedDib = (GLubyte *)AVIStreamGetFrame(pGetFrame, j); tempPtr=pPackedDib; tempPtr += sizeof(BITMAPINFOHEADER); glTexImage2D(GL_TEXTURE_2D, 0, 3, width, height, 0, GL_BGR_EXT,GL_UNSIGNED_BYTE, tempPtr);

This topic is closed to new replies.

Advertisement