Example works under Linux, but not under Windows, OpenGL context

Hi,

i’m trying to set up a portable example that uses SDL + OpenGL.

It can be found at:

http://www.s.netic.de/tmohr/cube-0.1.0.tar.gz

It works fine under Linux but refuses to work on my Laptop
under Windows 2000. I added some code to list the available
video modes, it says “all available” but then refuses to work
because it can’t create an OpenGL context.

Am i doing something wrong?

Has anybody got a hint for me to get this stuff working under
Windows?

The example code is a Rubics Cube that looks quite nice, i think.

Best regards,
Torsten.

Torsten Mohr wrote:

Am i doing something wrong?

Perhaps using Windows? Sorry, can’t help myself :slight_smile:

Adilson.

Hi,

Am i doing something wrong?

Perhaps using Windows? Sorry, can’t help myself :slight_smile:

Adilson.

i also like Linux better, but i’d like to make this small
example portable. I’d be glad if somebody could try the
example, it compiles fine and looks nice (under Linux).

It is located at:

http://www.s.netic.de/tmohr/cube-0.1.0.tar.gz

I am very interested if this is working for somebody else
and it is just a problem of my Laptop.

Best regards,
Torsten.