- function glProcedure(ProcName : PChar) : Pointer;
- begin
- Result := NIL;
- if Addr(wglGetProcAddress) <> NIL then
- Result := wglGetProcAddress(ProcName);
- if result <> NIL then
- exit;
- Result := GetProcAddress(LibHandle, ProcName);
- end;
OpenGL 1.5-HeaderModerator: DGL-Team
|