GLScene
GLScene copied to clipboard
Wrong hpbufferarb type
HPBUFFERARB is declared as HANDLE in OpenGL (see https://registry.khronos.org/OpenGL/extensions/ARB/WGL_ARB_pbuffer.txt).
The HPBUFFERARB type must be UINT_PTR (NativeUInt) to avoid 64-bit access violations.