Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (PeWi, AndrewAMD, TipmyPip, Geir), 15,254 guests, and 21 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Geir, ondrej, mredit, vestriaa, Lukudo
19206 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
bmap_to_alpha must be executed after first frame? #259110
04/03/09 22:15
04/03/09 22:15
Joined: Dec 2003
Posts: 521
LazyDog Offline OP
User
LazyDog  Offline OP
User

Joined: Dec 2003
Posts: 521
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.


www.LazyDogSoftware.com
Delphi SDK Homepage

A7 Pro 780
Delphi 5 through 2010
Re: bmap_to_alpha must be executed after first frame? [Re: LazyDog] #259263
04/05/09 06:12
04/05/09 06:12
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
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.


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1