Hello! I have been trying to embed lua into my application, and I
have strange behavior that I could not understand. I'm sure that
this is not normal.
First off, I have written a binding in order to interface my D
code with Lua Code.
..:://\\::..
extern(C) nothrow int addSprite(lua_State
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()
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
Thank you all for the replies. I'm extremely grateful. I'll look
into each and every answer.
So, to give context, I am trying to make an event manager for a
game I'm making.
I was writing the "register()" method so I ran into a problem.
The register method will take in delegates as an argument, but
those delegates have varied arguments themselves, so I can't
really put anything