DerelictGL program draw nothing

cal callumenator at gmail.com
Mon Sep 3 10:09:18 PDT 2012


On Monday, 3 September 2012 at 17:02:46 UTC, Zhenya wrote:
> that dosn't work

How large is your window?

glViewport(0,0,width,height);

should really be setting to the window size - so if you make your 
window 800,800, this should be

glViewport(0,0,800,800);



More information about the Digitalmars-d-learn mailing list