glscene / GLScene

GLScene is a graphics engine based on OpenGL with VCL components for Delphi & C++ Builder.
http://www.glscene.org
Mozilla Public License 2.0
216 stars 32 forks source link

Wrong hpbufferarb type #19

Closed smetz84 closed 1 year ago

smetz84 commented 2 years ago

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.

glscene commented 1 year ago

merged