DISPLAY LIST BEGIN
DIPLAY LIST END
will there be optimization issues to the diplay list if most of the colors are the same?
I am thinking of rewriting the code sot hat glcolor is only called if the color values change. Or should I not bother ? Im wondering if OpenGL will know when it encounters a string of identical color commands for subsequent vertexes.
No, there won’t be, because hardware does usually require a separate color per vertex so the driver most likely will replicate your color value for subsequent vertices even if you don’t call glColor again with the same colors.