DerelictGL program draw nothing

Zhenya zheny at list.ru
Tue Sep 4 10:34:49 PDT 2012


On Tuesday, 4 September 2012 at 16:17:30 UTC, Ivan Agafonov wrote:
> 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?

:)Understood


More information about the Digitalmars-d-learn mailing list