mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-26 21:10:42 +00:00
nv2a: Drop unused ShaderState field material_alpha
This commit is contained in:
parent
c6bad86739
commit
a8d8ef5484
@ -4471,7 +4471,6 @@ static void pgraph_bind_shaders(PGRAPHState *pg)
|
||||
state.ambient_src = (enum MaterialColorSource)GET_MASK(pg->regs[NV_PGRAPH_CSV0_C], NV_PGRAPH_CSV0_C_AMBIENT);
|
||||
state.diffuse_src = (enum MaterialColorSource)GET_MASK(pg->regs[NV_PGRAPH_CSV0_C], NV_PGRAPH_CSV0_C_DIFFUSE);
|
||||
state.specular_src = (enum MaterialColorSource)GET_MASK(pg->regs[NV_PGRAPH_CSV0_C], NV_PGRAPH_CSV0_C_SPECULAR);
|
||||
state.material_alpha = pg->material_alpha;
|
||||
}
|
||||
|
||||
/* vertex program stuff */
|
||||
|
@ -78,8 +78,6 @@ typedef struct ShaderState {
|
||||
enum MaterialColorSource diffuse_src;
|
||||
enum MaterialColorSource specular_src;
|
||||
|
||||
float material_alpha;
|
||||
|
||||
bool lighting;
|
||||
enum VshLight light[NV2A_MAX_LIGHTS];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user