# Colorkey and system memory

**URL:** <https://discourse.libsdl.org/t/colorkey-and-system-memory/1188>\
**Category:** SDL Development\
**Created:** [October 23, 1999, 10:41pm UTC](https://discourse.libsdl.org/t/colorkey-and-system-memory/1188 "1999-10-23T22:41:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Colascione](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/e480ec/32.png) [@Danny\_Colascione](https://discourse.libsdl.org/u/Danny_Colascione)\
**Post date:** [October 23, 1999, 10:41pm UTC](https://discourse.libsdl.org/t/colorkey-and-system-memory/1188/1 "1999-10-23T22:41:40Z")

</div>

Is it possible to construct a colorkeyed surface in system memory? The  
documentation is somewhat unclear as to this.

---

<div class="post-metadata">

**Author:** ![slouken](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@slouken](https://discourse.libsdl.org/u/slouken)\
**Post date:** [October 25, 1999, 12:53pm UTC](https://discourse.libsdl.org/t/colorkey-and-system-memory/1188/2 "1999-10-25T12:53:27Z")

</div>

“.” wrote:

> Is it possible to construct a colorkeyed surface in system memory? The  
> documentation is somewhat unclear as to this.

Yes.–  
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
