fix efb2ram decoder
This commit is contained in:
parent
85ac76e8e2
commit
cf8f936abb
|
@ -282,7 +282,7 @@ void WriteSampleColor(char*& p, const char* colorComp, const char* dest, API_TYP
|
||||||
|
|
||||||
// the increment of sampleUv.x is delayed, so we perform it here. see WriteIncrementSampleX.
|
// the increment of sampleUv.x is delayed, so we perform it here. see WriteIncrementSampleX.
|
||||||
const char* texSampleIncrementUnit;
|
const char* texSampleIncrementUnit;
|
||||||
if (ApiType != API_OPENGL || ApiType != API_GLSL)
|
if (ApiType != API_OPENGL && ApiType != API_GLSL)
|
||||||
texSampleIncrementUnit = I_COLORS"[0].x / " I_COLORS"[0].z";
|
texSampleIncrementUnit = I_COLORS"[0].x / " I_COLORS"[0].z";
|
||||||
else
|
else
|
||||||
texSampleIncrementUnit = I_COLORS"[0].x";
|
texSampleIncrementUnit = I_COLORS"[0].x";
|
||||||
|
|
Loading…
Reference in New Issue