On 2/5/2015 4:53 PM, Entity325 wrote:
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
On 05.02.2015 10:53, Entity325 wrote:
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
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 05.02.2015 09:57, Entity325 wrote:
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
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
On Thursday, 5 February 2015 at 01:51:05 UTC, Entity325 wrote:
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
I cannot figure out what is wrong with this code and why i keep
getting object.error access violation. the code is simple
tutorial code for SDL and OpenGL what am i doing wrong (the
access violation seems to be with glGenBuffers)
The Code
import std.stdio;
import derelict.opengl3.gl3;
import
Can you try to add DerelictGL3.reload(); after
SDL_GL_CreateContext ?
Sean Campbell:
I cannot figure out what is wrong with this code and why i keep
getting object.error access violation. the code is simple
tutorial code for SDL and OpenGL what am i doing wrong (the
access violation seems to be with glGenBuffers)
I don't know where your problem is, but you
On Friday, 4 July 2014 at 08:02:59 UTC, Misu wrote:
Can you try to add DerelictGL3.reload(); after
SDL_GL_CreateContext ?
yes this solved the problem. however why? is it a problem with
the SDL binding?
On Friday, 4 July 2014 at 09:39:49 UTC, Sean Campbell wrote:
On Friday, 4 July 2014 at 08:02:59 UTC, Misu wrote:
Can you try to add DerelictGL3.reload(); after
SDL_GL_CreateContext ?
yes this solved the problem. however why? is it a problem with
the SDL binding?
No.
On 7/4/2014 6:39 PM, Sean Campbell wrote:
On Friday, 4 July 2014 at 08:02:59 UTC, Misu wrote:
Can you try to add DerelictGL3.reload(); after SDL_GL_CreateContext ?
yes this solved the problem. however why? is it a problem with the SDL
binding?
OpenGL on Windows requires a context be created
15 matches
Mail list logo