Mem Requirements of SDL + OpenGL

Why is it that when I set the video mode with just SDL, virtually no memory
is allocated, yet when I set it with OpenGL, it instantly takes up like 66MB
of system memory. Yet, i’ve allocated no memory in my program code?_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Sounds like the result of the VRAM being mapped when the OpenGL drives is
activated… This doesn’t mean that 66MB of memory is allocated from the
system RAM, but rather that the VRAM of the video card is made available to
the CPU.

In short: Don’t worry! It’s most probably just a harmless side effect how the
driver and video hardware works. :slight_smile:

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------> http://www.linuxaudiodev.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |--------------------------------------> david at linuxdj.com -'On Thursday 17 May 2001 02:56, Uriah Liggett wrote:

Why is it that when I set the video mode with just SDL, virtually no memory
is allocated, yet when I set it with OpenGL, it instantly takes up like
66MB of system memory. Yet, i’ve allocated no memory in my program code?