Different between GLfloat and float

What are the different between:
GLfloat and float | GLint and int | etc…

ehm ? none !?

look into gl.h !

None on current hardware. There may be differences once 64 bit processors are introduced.

As ffish says, theres no difference on most hardware today. However, there might be when 64-bit architectures are comming. A GLfloat is guarateed to be 32-bit long, while a float might be 64-bit on a 64-bit architecture. Same goes for other types, int might be of different length on different platforms, but a GLint is guarateed to give you a 32-bit singed integer.

So that’s mean GLfloat will be faster when the 64 bit architectures come out?

Depends on the architecture It may be optimized for 64-bit floats, just like current architecture likes 32-bit floats.

OK,thanks to all.I’ll change all my float to GLfloat! Before this,I prefer float than GLfloat because it is shorter

typedef GLfloat f;