Re: [WIN] Allegro for Euphoria Demo release

new topic     » goto parent     » topic index » view thread      » older message » newer message

DirectX itself will automatically let you know what pixelformat your
currently are using correctly. The thing is that the custom software graphic
routines Allegro uses needs to know this to draw correctly to the screen.
Basically what you said in your steps... Just wanted to clarify that.

Todd Riggins

------------
Actually, I already know what the problem is:
 Whenever I try to set a 16-bit (565) graphics mode through DirectDraw I get
 a 15-bit (555) mode instead. So it's a either a DirectX-related or a
 driver-related problem. This does not happend when using VESA libraries
 under DOS (though I've seen it happend on other computers). So what you'd
 need is:
 1) a function, internal or not, called getPixelFormat() or whatever.
 2) use the information from this function to explicitly tell Allegro wich
 pixelformat to use (only important when trying to set a HiColor mode). if
 that can be done..

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu