Colorspace Handler: FragmentColor may now be accessed through a 4-element array, in which elements 0-1-2-3 represent color components R-G-B-A, respectively.
This commit is contained in:
parent
2b66e756da
commit
f0b0afe18b
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 2016-2022 DeSmuME team
|
||||
Copyright (C) 2016-2023 DeSmuME team
|
||||
|
||||
This file is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -82,6 +82,8 @@ enum NDSColorFormat
|
|||
union FragmentColor
|
||||
{
|
||||
u32 color;
|
||||
u8 component[4];
|
||||
|
||||
struct
|
||||
{
|
||||
u8 r,g,b,a;
|
||||
|
|
Loading…
Reference in New Issue