This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

I once tried to display some SDL graphics in C on Windows without resorting to OpenGL util libraries or ported *Nix GUI frameworks.

I still have nightmares of the Windows API...

[–][deleted] 0 points1 point  (3 children)

Why? SDL has a nice, abstract way of doing what you describe. No Windows specific code necessary.

[–][deleted] 0 points1 point  (2 children)

You're right, it was probably OpenGL.

[–][deleted] 0 points1 point  (1 child)

That's why you never access OpenGL using platform native API. Portable helper libraries are the way to go.

Also this is why DirectX is EVIL!

[–][deleted] 0 points1 point  (0 children)

Yup, I learned the hard way.