# sdl with wayland displaying wrong colors

**URL:** <https://discourse.libsdl.org/t/sdl-with-wayland-displaying-wrong-colors/42310>\
**Category:** Game Development\
**Created:** [February 1, 2023, 10:12am UTC](https://discourse.libsdl.org/t/sdl-with-wayland-displaying-wrong-colors/42310 "2023-02-01T10:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gorogoro](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/g/db5fbb/32.png) [@gorogoro](https://discourse.libsdl.org/u/gorogoro)\
**Post date:** [February 1, 2023, 10:12am UTC](https://discourse.libsdl.org/t/sdl-with-wayland-displaying-wrong-colors/42310/1 "2023-02-01T10:12:37Z")

</div>

It seems that there’s some incompatibility beetween SDL and my weston. The thing that I’m notice is that the colors are not quite right it seems that on my embeded device I have a small color depth.  
The same code runs pretty well on ubuntu.  
I know that my embedded system and weston supports the 32bits color depth, because when I’m not using SDL the colors are all correct.

Any ideia of what could be happening here?

Another thing, I tried to run the SDL using drm but without any success. Maybe I’m missing something?

Thank you.
