Class GLFunctionLoader_windows

java.lang.Object
panamagl.platform.windows.GLFunctionLoader_windows
All Implemented Interfaces:
panamagl.opengl.GLFunctionLoader

public class GLFunctionLoader_windows extends Object implements panamagl.opengl.GLFunctionLoader
Resolve OpenGL functions with wglGetProcAddress, falling back on the symbols exported by opengl32.dll (GL 1.1) for which wglGetProcAddress returns nothing. These symbols are looked up in opengl32.dll as already loaded by NativeLibLoader. A GL context must be current on the calling thread. Addresses may depend on the context pixel format, which is why each GL instance keeps its own cache.
Author:
Martin Pernollet