View Full Version : Problem of GLsizei and GLint

11-03-2011, 01:45 AM
Hey everyone!
Does who know the difference between the GLsizei and GLint
They are all defined int

11-03-2011, 02:30 AM
The difference is one of semantics. If you pay close attention to where some of the typenames are used you'll notice.

glViewport is a good example where the first two parameters refer to a position, thus declared GLint, the last two refer to the extents of the viewport, thus declared GLsizei.

11-03-2011, 03:17 AM
I see.Thx!