123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|514|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> How Deep is Your Code?

Wed, 12 Jun 2013, 11:52
HoboBen
Don’t know why anybody bothers with frameworks like SDL, GLFW, etc. Raw GLX (OpenGL for X11) is far less sucky. Still sucky, just far less.

-=-=-
blog | work | code | more code
Wed, 12 Jun 2013, 11:52
Cower
Because we have to deal with systems where GLX isn't available or is incredibly sucky.
Wed, 12 Jun 2013, 12:39
HoboBen
I get the massively cross platform bit that SDL does. But if you're after the main three -- windows, linux, mac -- it's not that big a deal surely?

How tidy are the windows and mac native set-up-a-window functions?

Although to be fair, the new GLFW 3 looks much better.

-=-=-
blog | work | code | more code
Wed, 12 Jun 2013, 17:04
Cower
Windows is basically a nightmare (hope you like Win32) and OS X is fairly simple (create window, create GL view and context, and set up either a displaylink callback or timer). That said, using GLFW 3 for the main three plus mobile platforms works fairly well (which is what I'm doing).
Wed, 12 Jun 2013, 18:26
HoboBen
Hmm looks like microsoft have a GLX-equivalent called WGL.

en.wikipedia.org/wiki/WGL_(software)

Although full of ugly hungarian notation!




"HGLRC hglrc" what the hell is that?!?!


-=-=-
blog | work | code | more code
Wed, 12 Jun 2013, 18:40
Jayenkai
They would!! A language can't exist without MS having their own version..

-=-=-
''Load, Next List!''
Wed, 12 Jun 2013, 19:57
Afr0
OpenGL isn't a language, and Hungarian Notation is fugly.
I keep doing m_ for member variables, but that's it!!

I like this topic title, btw, undoubtedly a reference to Crap From the Past's How Deep is Your Love?

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Thu, 13 Jun 2013, 13:19
Hotshot
Too much messing about on SDL....if they had any sense..it would be good to have wxDev C++ and SDL Build in then anyone can code em without messing about putting options of SDL including and library

sigh!
Thu, 13 Jun 2013, 14:12
HoboBen
Yes Hotshot, dealing with libraries is a pain to set up! Especially if you are trying to cross compile to multiple platforms.

-=-=-
blog | work | code | more code
Thu, 13 Jun 2013, 15:35
Hotshot
SDL got really good demoscene source code about(such as plasma, fire effect,raster bars, wavey scolling fonts and so on) but there is problem thought....when I run the program...you get error after errors then you wondering if you have done the right things like putting library shit and putting extra SDL.dll whatever files in the same folder

Horrible

I wish someone out there try make IDE that build in with either SDL or Allergo then it would be Amazing for everyone to code em without all Library shit and extra files shit in folder to make it work!