Interrupt / systemshock

Shockolate - A minimalist and cross platform System Shock source port.
GNU General Public License v3.0
802 stars 62 forks source link

Fix rendering black color as transparent #358

Closed shamazmazum closed 4 years ago

shamazmazum commented 4 years ago

Hello. I get black color rendered as transparent. This patch should fix it for both renderers (Software and OpenGL). I don't really understand how rendering is working in System Shock and this patch is made during some experiments with palette, but seems to work.

Before: 20200417_08h28m31s_grim 20200417_08h28m27s_grim

After: 20200417_08h50m55s_grim 20200417_08h50m50s_grim

shamazmazum commented 4 years ago

It seems that the bug is only reproducible on Wayland (I use sway 1.4)