On Wednesday, 24 September 2014 at 13:59:41 UTC, csmith wrote:
On Wednesday, 24 September 2014 at 11:07:56 UTC, Mike Parker
wrote:
You're using deprecated OpenGL calls. The gl3 module only
declares and loads modern OpenGL. If you really want to use
the deprecated stuff, change the gl3 import
On Wednesday, 24 September 2014 at 03:08:55 UTC, csmith wrote:
Hi everyone,
I've got derelict.opengl3.gl3 and derelict.glfw3.glfw3 setup
with dub and can get a window to open up and close with glfw3.
I can also use glClear(GL_COLOR_BUFFER_BIT); however, beyond
this most OpenGL commands fail
Make sure to call DerelictGL3.reload() to get all the OpenGL
calls, if you don't, you only get OpenGL 1.1
On 9/24/2014 12:08 PM, csmith wrote:
Hi everyone,
Compiling...
source/app.d(25): Error: undefined identifier glBegin
source/app.d(26): Error: undefined identifier glEnd
FAIL
.dub/build/application-debug-linux.posix-x86_64-dmd-357CCD4CB91CACEC384AF7BAA514E3A7
myproj
On Wednesday, 24 September 2014 at 11:07:56 UTC, Mike Parker
wrote:
You're using deprecated OpenGL calls. The gl3 module only
declares and loads modern OpenGL. If you really want to use the
deprecated stuff, change the gl3 import to this:
import derelict.opengl3.gl;
And call load/reload on
Whoops, I just saw that my earlier answer was totally inaccurate.
I was on my phone at the time, so didn't look at the code in
detail.
On Wednesday, 24 September 2014 at 13:59:41 UTC, csmith wrote:
On Wednesday, 24 September 2014 at 11:07:56 UTC, Mike Parker
wrote:
You're using deprecated
Whoops, I just saw that my earlier answer was totally
inaccurate.
I was on my phone at the time, so didn't look at the code in
detail.
No big deal, figured you just missed it / auto response to this
kinda question. I did my best to google this question, but wasn't
really sure where to
On Wednesday, 24 September 2014 at 16:36:29 UTC, csmith wrote:
I came from web development, you're meaning to tell me there's
coding outside of writing boilerplate? Jokes aside, figured if
I took the time to learn a modern language, I'd be consistent
with adding in newer technologies :)
In
Hi everyone,
I've got derelict.opengl3.gl3 and derelict.glfw3.glfw3 setup with
dub and can get a window to open up and close with glfw3. I can
also use glClear(GL_COLOR_BUFFER_BIT); however, beyond this most
OpenGL commands fail and I can't seem to figure out how to fix it.
Code: