SDL_OPENGL creates problem in smpeg

Hi!
I just added the SDL_OPENGL flag in the list of video flags in smpeg.
The program creates run time error.

What is the alternative way to call openGl from SDL library while
running the smpeg?

Thanks and regards,

pati

Hi!
I just added the SDL_OPENGL flag in the list of video flags in smpeg.
The program creates run time error.

What is the alternative way to call openGl from SDL library while
running the smpeg?

You can’t. You need to have SMPEG draw into a texture and upload the
texture to the card. See the glmovie example program in the SMPEG archive
for details.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment