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
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
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
Updating my dev environment to the latest version of DMD, which
means I updated to the latest versions of all of the Derelict
libraries I use. Everything seems to be mostly in order(changed
all the old references to "import derelict.opengl3.gl" to "import
derelict.opengl"), except I'm getting
On Saturday, 18 March 2017 at 05:00:48 UTC, Entity325` wrote:
and both create a scope outside of which no declarations inside
them are visible(potentially undesirable side-effects).
Oh. Static ifs don't do that. Disregard, I'm wrong.
FYI,
static if(true)//comments are great for adding some context to
your code.
{
//stuff
}
and
{//let's toss a comment on the scope declaration!
//stuff
}
are functionally equivalent in my IDE. Both will fold down to
only the top {(good), and both create a scope outside of which no
Usually the DMD compiler errors are very helpful, but I guess
nothing can be perfect. In this case, I have a class I'm trying
to declare. The class is intended to be a transport and storage
medium, to allow information to be passed and updated
asynchronously between two threads. One of the
Aldacron and I have determined that I'm doing something weird
with the imports between gl.d and gl3.d, the functions I'm trying
to access are deprecated so the problem is less that they aren't
loading and more that I can see them at all.
I will see how much I can strip away and still reproduce the
problem. If I find the cause before then, I'll be sure to report
back here.
I am having a problem which is similar in appearance to the OP's,
but it does not seem to be similar in function. When I try to
execute any of the Gl functions in the (protected)
DerelictGL3.gl.loadSymbols function, I get an access violation.
Checking for null reveals that the functions are
On Thursday, 5 February 2015 at 06:07:34 UTC, Entity325 wrote:
I will see how much I can strip away and still reproduce the
problem. If I find the cause before then, I'll be sure to
report back here.
I don't know if this is relevant, but while stripping down my
code, I discovered that
On Thursday, 5 February 2015 at 07:23:15 UTC, drug wrote:
Look at this
https://github.com/drug007/geoviewer/blob/master/src/sdlapp.d
I used here SDL and OpenGL and it worked. Ctor of SDLApp
creates SDL window with OpenGL context, may be it helps.
Tested your code. Symbols still not being
12 matches
Mail list logo