Re: Configuring DerelictGL3

2018-07-19 Thread Entity325 via Digitalmars-d-learn
On Thursday, 19 July 2018 at 09:41:34 UTC, Mike Parker wrote: Are you doing all of that in the main thread, or a separate one? It's all on a separate thread, but I checked every single reference I could find after posting yesterday, and the OGL context is never referenced outside of the

Re: Configuring DerelictGL3

2018-07-19 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 19 July 2018 at 00:27:58 UTC, Entity325 wrote: So I'm using the standard process: DerelictGL3.load(); glContext = SDL_GL_CreateContext(sdlWindow); GLVersion glVersion = DerelictGL3.reload(); About 1/3 of the time, the program hangs on the 3rd line and never gets past it.

Re: Configuring DerelictGL3

2018-07-18 Thread Entity325 via Digitalmars-d-learn
Thanks for the help (and sorry for the slow reply, it took longer to get everything tested and configured than I would have liked... sorry if this is frowned upon on this forum...) I do have an odd bug, however, and I'm not sure how to go any further with it. So I'm using the standard

Re: Configuring DerelictGL3

2018-06-06 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 7 June 2018 at 02:47:12 UTC, Entity325 wrote: I added the line, "mixin glContext!(GLVersion.gl33);" after the import statement. I didn't do anything with the context because I assumed SDL2 handled that, and creating my own would likely break the code. You aren't mixing

Re: Configuring DerelictGL3

2018-06-06 Thread Entity325 via Digitalmars-d-learn
On Wednesday, 6 June 2018 at 23:43:34 UTC, Rene Zwanenburg wrote: On Wednesday, 6 June 2018 at 23:26:23 UTC, Entity325 wrote: I can't imagine things like "glEnable/DisableClientState" are deprecated. They are. All the missing symbols are indeed deprecated. Oh, I see where my confusion came

Re: Configuring DerelictGL3

2018-06-06 Thread Rene Zwanenburg via Digitalmars-d-learn
On Wednesday, 6 June 2018 at 23:26:23 UTC, Entity325 wrote: I can't imagine things like "glEnable/DisableClientState" are deprecated. They are. All the missing symbols are indeed deprecated. attempting to load the deprecated functions according to the documentation page did a whole lot of