mirror of
https://github.com/0ldsk00l/nestopia.git
synced 2024-06-22 06:02:26 -04:00
Fix colours on big endian in FLTK port
This commit is contained in:
parent
b1eb2e4522
commit
1e8e9ff3c3
|
@ -334,9 +334,9 @@ void video_set_filter() {
|
|||
renderstate.bits.mask.b = 0x000000ff;
|
||||
}
|
||||
else { // Big Endian
|
||||
renderstate.bits.mask.r = 0x000000ff;
|
||||
renderstate.bits.mask.g = 0xff000000;
|
||||
renderstate.bits.mask.b = 0x00ff0000;
|
||||
renderstate.bits.mask.r = 0x0000ff00;
|
||||
renderstate.bits.mask.g = 0x00ff0000;
|
||||
renderstate.bits.mask.b = 0xff000000;
|
||||
}
|
||||
|
||||
if (NES_FAILED(video.SetRenderState(renderstate))) {
|
||||
|
|
Loading…
Reference in a new issue