I dont see this error code anywhere in gapidraw.h but in winerror.h it appears to be INAVLIDARG.
So on win32 I notice that i am passing a 0 and 0 as the height and width. Which used to work in gapidraw 3.6 but now it return an error. Any reason for this? Just wondering.
Since I do not know the h/w of my window yet, I'm just passing 0,0 then i resize later. Seems like passing 1,1 works ok.
Thanks.