I'm writing Pascal-Headers for SDL 2.0, this is my repo:

https://github.com/ev1313/Pascal-SDL-2-Headers/

Actually I've translated:


  • "sdl.h",
  • "sdl_main.h",
  • "sdltype_s.h",
  • "sdl_stdinc.h",
  • "sdl_events.h",
  • "sdl_keyboard.h",
  • "sdl_keycode.h",
  • "sdl_scancode.h",
  • "sdl_mouse.h",
  • "sdl_video.h",
  • "sdl_pixels.h",
  • "sdl_surface.h",
  • "sdl_rwops.h",
  • "sdl_blendmode.h",
  • "sdl_rect.h",
  • "sdl_joystick.h",
  • "sdl_touch.h",
  • "sdl_gesture.h",
  • "sdl_error.h",
  • "sdl_version.h",
  • "sdl_render.h"


I'll not translate the headerfiles:

  • "sdl_opengl.h",
  • "sdl_opengles.h"
  • "sdl_opengles2.h"

Because you should use the dglopengl.pas from delphigl.com:

http://wiki.delphigl.com/index.php/Archiv:dglOpenGL

It supports all OpenGL Versions (1.0 to 4.4 30.07.2013) and is updated if there's a new Version.