On Tuesday, 4 September 2012 at 07:32:47 UTC, Zhenya wrote: > But why it doesn't convert uint to int correctly? I dont know, small positive uint and int must have the same binary representation, and no need to conversion. Strangely... O! May be problem is here: glOrtho(-width,width,-height,height,-1,1); -width and -height Negative unsigned?