# SDL\_CreateTexture and SDL\_UpdateTexture uses my pixel format

**URL:** <https://discourse.libsdl.org/t/sdl-createtexture-and-sdl-updatetexture-uses-my-pixel-format/19913>\
**Category:** SDL Development\
**Created:** [August 26, 2013, 4:45pm UTC](https://discourse.libsdl.org/t/sdl-createtexture-and-sdl-updatetexture-uses-my-pixel-format/19913 "2013-08-26T16:45:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathaniel\_J\_Fries](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/n/ccd318/32.png) [@Nathaniel\_J\_Fries](https://discourse.libsdl.org/u/Nathaniel_J_Fries)\
**Post date:** [August 26, 2013, 4:45pm UTC](https://discourse.libsdl.org/t/sdl-createtexture-and-sdl-updatetexture-uses-my-pixel-format/19913/1 "2013-08-26T16:45:52Z")

</div>

What processor are you targeting? It might be a byte-order issue.------------------------  
Nate Fries

---

<div class="post-metadata">

**Author:** ![John\_Tullos](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/john_tullos/32/2111_2.png) [@John\_Tullos](https://discourse.libsdl.org/u/John_Tullos)\
**Post date:** [August 26, 2013, 5:59pm UTC](https://discourse.libsdl.org/t/sdl-createtexture-and-sdl-updatetexture-uses-my-pixel-format/19913/2 "2013-08-26T17:59:45Z")

</div>

I’m using Intel (i5 or i7 depending on the computer I’m on)… I assumed as well byte order maybe, but I didn’t see any way to change how the texture handles byte order.From: [nfries88@yahoo.com](mailto:nfries88@yahoo.com)  
Date: Mon, 26 Aug 2013 16:45:52 +0000  
To: sdl at [lists.libsdl.org](http://lists.libsdl.org)  
Subject: Re: [SDL] SDL\_CreateTexture and SDL\_UpdateTexture uses my pixel format

```
What processor are you targeting? It might be a byte-order issue.

```

Nate Fries

* * *

SDL mailing list  
SDL at [lists.libsdl.org](http://lists.libsdl.org)  
[http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org](http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)
