Oxygen Basic

Programming => Example Code => Topic started by: Peter on April 16, 2012, 08:02:22 AM

Title: Now OpenGl
Post by: Peter on April 16, 2012, 08:02:22 AM
Deleted
Title: Re: Now OpenGl
Post by: Charles Pegge on April 16, 2012, 01:56:24 PM
Hi Peter,
this works fine but GPFs on the Esc key or when the program is closed.

Charles
Title: Re: Now OpenGl
Post by: Charles Pegge on April 17, 2012, 08:02:53 AM
What Opengl headers are you using Peter?
Title: Re: Now OpenGl
Post by: Aurel on April 17, 2012, 10:24:03 AM
Hi Peter ..
Source code for sdl.h you can find here:
http://www.libsdl.org/tmp/docs-1.2/_s_d_l_8h.html

There are several headers...
Title: Re: Now OpenGl
Post by: Aurel on April 17, 2012, 11:15:52 AM
Yeah  ;)
i think ,when you say sdl.h that this is only one file ,but
it looks that are many.
As you can see SDL is based on openGl ,right?
Title: Re: Now OpenGl
Post by: Aurel on April 17, 2012, 01:01:05 PM
Ok if you say so.
So look that if is SDL on windows then he is layer for DirectX.
But why then on his site is written that is based on openGL ???
however... ;D
Title: Re: Now OpenGl
Post by: Charles Pegge on April 17, 2012, 01:14:19 PM

I've encountered SDL before. It comes in many pieces. the S for 'simple' is a bit misleading in my opinion.