1 // Copyright Timothy Goya 2007.
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
9 #define GL_PROC(ret, func, params) ret (*func) params;
10 #include "SDL_glfuncs.h"
13 int glLoad(const char *path)
15 int ret = SDL_GL_LoadLibrary(path);
20 #define GL_PROC(ret, func, params) func = SDL_GL_GetProcAddress(#func);
21 #include "SDL_glfuncs.h"