bmap_to_alpha must be executed after first frame?

Posted By: LazyDog

bmap_to_alpha must be executed after first frame? - 04/03/09 22:15

the manual doesn't say so; however, I get error message saying something about video device not being open if I try to execute bmap_to_alpha before the first call to engine_frame.

the funny thing is it looks like it actually worked even though I got the error???

so must the first frame be executed before this function can be called? if so the manual should state that.
Posted By: Tobias

Re: bmap_to_alpha must be executed after first frame? - 04/05/09 06:12

I think this is because you need to have initialized DirectX before you can using DirectX functions. Most engine functions need DirectX, bitmap functions for certain.

Its the same as if you would use entity functions without having created an entity before.
© 2023 lite-C Forums