On Friday, 13 February 2015 at 09:18:29 UTC, Mike Parker wrote:
On 2/13/2015 6:14 PM, Mike Parker wrote:
On 2/13/2015 12:46 PM, Bennet wrote:
I've begun writing some basic OpenGL code using DerelictGL3
but I've hit
a wall. I've managed to open a window (with DerelictSDL2) and
call basic
OpenGL
On 2/13/2015 6:14 PM, Mike Parker wrote:
On 2/13/2015 12:46 PM, Bennet wrote:
I've begun writing some basic OpenGL code using DerelictGL3 but I've hit
a wall. I've managed to open a window (with DerelictSDL2) and call basic
OpenGL functions such as glClear(). Still I can not get a basic triangle
On 2/13/2015 12:46 PM, Bennet wrote:
I've begun writing some basic OpenGL code using DerelictGL3 but I've hit
a wall. I've managed to open a window (with DerelictSDL2) and call basic
OpenGL functions such as glClear(). Still I can not get a basic triangle
up and running. glError() does not return
void main(){
DerelictGL3.load();
//create your sdl context, window hints,
DerelictGL3.reload();
//Do other stuff...
}
You got to have a valid context before you call reload. These two
functions shall be called only once, I have the impression that
you call them multiple times.
I've begun writing some basic OpenGL code using DerelictGL3 but
I've hit a wall. I've managed to open a window (with
DerelictSDL2) and call basic OpenGL functions such as glClear().
Still I can not get a basic triangle up and running. glError()
does not return anything and when compiling, linki