dlls/wined3d/device.c GetCreationParameters

H. Verbeet hverbeet at gmail.com
Tue Jan 17 03:42:33 CST 2006


On 17/01/06, Robert Shearman <rob at codeweavers.com> wrote:
> This should never be NULL as where did the application get the address
> of the function from?
Well, The function could be called directly from inside wined3d, or
the application could store the address somewhere. Something along the
lines of:

some_function_ptr = object1->lpVtbl->GetCreationParameters;
some_function_ptr(object1, &parameters);
some_function_ptr(object2, &parameters);

However, in either case you probably want to fail hard and get a backtrace.



More information about the wine-devel mailing list