View Full Version : GLboolean

01-24-2017, 05:58 AM
Hi everyone!
I am very new to OpenGL programming but have done a lot of programming in Delphi. I want to make my OpenGL code compatible with Delphi so I want to know: the OpenGL data type GLboolean is compared to what in other languages? For example: is it an unsigned 32 bit integer or what? Please help ! Thankyou in advance!

01-24-2017, 08:09 AM
It is defined as one byte. The spec says noting about signed or unsigned.

You find all the data type specifications on page 13:


01-24-2017, 10:13 AM
Thank you for the reply! Sorry that I missed the documentation.