[SDL] how can i optain current desktop size?

Kim Myunsoo zakksdl at yahoo.co.kr
Mon Aug 27 00:02:00 PDT 2001

On Monday 13 August 2001 19:30, Dan wrote:
> non standart image format change the rgb bitmap to bgr open gl format,
> the txture looks bad in paint but is easy to load into opengl!

Then something is wrong with the OpenGL code. File formats have a 
*specified* (if only implicitly by the platform the format originates 
from) byte order, and you should stick to that. Messing with files that 
appear to be of some well known format is generally a very bad idea.

Or; "easy to load" in this context is analogous to "sell your soul now - 
worry about the consequences later". ;-)

//David Olofson --- Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------------> http://www.linuxdj.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'

More information about the SDL mailing list