1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Create auxilary combiners in Combiner_Init().

This commit is contained in:
Sergey Lipskiy 2015-02-21 11:48:54 +06:00
parent 6f40fa430b
commit 406a4d3165

View File

@ -63,8 +63,12 @@ static int aAExpanded[] =
};
void Combiner_Init() {
CombinerInfo::get().init();
CombinerInfo & cmbInfo = CombinerInfo::get();
cmbInfo.init();
InitShaderCombiner();
cmbInfo.setCombine(EncodeCombineMode(0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0));
cmbInfo.setCombine(EncodeCombineMode(0, 0, 0, TEXEL0, 0, 0, 0, 1, 0, 0, 0, TEXEL0, 0, 0, 0, 1));
cmbInfo.setCombine(EncodeCombineMode(0, 0, 0, SHADE, 0, 0, 0, SHADE, 0, 0, 0, SHADE, 0, 0, 0, SHADE));
}
void Combiner_Destroy() {