bbWindowed3D

Blitz3D SDK Forums/Blitz3D SDK Programming/bbWindowed3D

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It looks like an error in the SDK initialisation logic skid??? a call to bbWindowed3D() will fail because the SDK has not been initialised yet with bbBeginBlitz3D() which in the example above must be preceded by a call to the function bbSetBlitz3DHWND() if you wish to create your own window, hence the need to check if this is supported via the bbWindowed3D() call.
Could the problem be solved by declaring bbSetBlitz3DHWND() to return type BOOL (TRUE-success/supported, FALSE-windowed mode not supported)?

Cheers,

Roy