mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Fix shader compilation for combiners, wich use only T1.
Fixed main menu in Paper Mario.
This commit is contained in:
parent
dd4fac7230
commit
7642758873
|
@ -2050,6 +2050,8 @@ graphics::CombinerProgram * CombinerProgramBuilder::buildCombinerProgram(Combine
|
||||||
if (g_cycleType < G_CYC_COPY) {
|
if (g_cycleType < G_CYC_COPY) {
|
||||||
if (combinerInputs.usesTile(0))
|
if (combinerInputs.usesTile(0))
|
||||||
m_fragmentReadTex0->write(ssShader);
|
m_fragmentReadTex0->write(ssShader);
|
||||||
|
else
|
||||||
|
ssShader << " lowp vec4 readtex0;" << std::endl;
|
||||||
|
|
||||||
if (combinerInputs.usesTile(1))
|
if (combinerInputs.usesTile(1))
|
||||||
m_fragmentReadTex1->write(ssShader);
|
m_fragmentReadTex1->write(ssShader);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user