On Sunday, 4 December 2016 at 08:32:23 UTC, Mike Parker wrote:
On Sunday, 4 December 2016 at 08:30:40 UTC, Mike Parker wrote:
your shader, print out the result of glGetString(GL_VERSION) to
Alternatively, since you're using Derelict, you can check the
return value of DerelictGL3.reload()
On Sunday, 4 December 2016 at 08:30:40 UTC, Mike Parker wrote:
your shader, print out the result of glGetString(GL_VERSION) to
Alternatively, since you're using Derelict, you can check the
return value of DerelictGL3.reload() or, any time after calling
it, DerelictGL3.loadedVersion.
On Sunday, 4 December 2016 at 06:41:07 UTC, Payotz wrote:
So I've been trying to teach myself how to OpenGL, and there
are errors whenever I try to compile my shaders.
Errors are : http://i.imgur.com/5hRaQL8.png
Why the screenshot? Simpler to respond to copy/pasted text.
The second line is
So I've been trying to teach myself how to OpenGL, and there are
errors whenever I try to compile my shaders.
Errors are : http://i.imgur.com/5hRaQL8.png
My shader code is as follows:
///
#version 130
attribute vec3 position;
void main()
{
gl_Position = vec4(position,1.0);
}
///
My