View previous topic :: View next topic |
Author |
Message |
lindquist
Joined: 14 Sep 2006 Posts: 55 Location: Copenhagen, Denmark
|
Posted: Wed Mar 07, 2007 7:51 am Post subject: problems with sdl and opengl bindings |
|
|
I've been fiddling with the sdl and opengl bindings and have noticed a number of bugs/errors/mistakes:
opengl.gltypes:
GL_FALSE is mistyped as G_FALSE
opengl.gl12:
glTexSubImage3D is bound twice and glCopyTexSubImage3D is forgotten
opengl.glu:
_GLUfuncptr is not extern(C)
sdl.timer:
SDL_TimerCallback and SDL_NewTimerCallback are not extern(C)
sdl.rwops:
SDL_RWops.seek, SDL_RWops.read, SDL_RWops.write, SDL_RWops.close are not extern(C)
sdl.events:
SDL_EventFilter is not extern(C)
sdl.audio:
SDL_AudioSpec.callback is not extern(C)
SDL_AudioCVT.filters are not extern(C)
there might be more... |
|
Back to top |
|
|
lindquist
Joined: 14 Sep 2006 Posts: 55 Location: Copenhagen, Denmark
|
Posted: Wed Mar 07, 2007 8:17 am Post subject: |
|
|
opengl.glu:
_GLUfuncptr should of course be extern(Windows) or extern(C) depending on platform. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Wed Mar 07, 2007 11:55 am Post subject: |
|
|
Thanks! All corrected in the trunk. This after I was going on the other day about how DerelictGL and DerelictSDL are the most stable packages of the lot. _________________ The One With D | The One With Aldacron | D Bits |
|
Back to top |
|
|
|