Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I must be missing something simple, where are h and w defined? Does the call to screen imply that somehow?


Height and width of the texture. They're whatever constants you choose.


https://lodev.org/cgtutor/examples.html#screen

They're set by screen, exactly!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: