partial revert of 8a6f747408

texture_rect isn't in core 3.0, so the long texture function must be used
This commit is contained in:
degasus
2013-01-22 00:18:42 +01:00
parent da0ec6618f
commit 6afc30240a
4 changed files with 7 additions and 7 deletions

View File

@ -247,7 +247,7 @@ void WriteSampleColor(char*& p, const char* colorComp, const char* dest, API_TYP
else if (ApiType == API_D3D11)
texSampleOpName = "tex0.Sample";
else
texSampleOpName = "texture";
texSampleOpName = "texture2DRect";
// the increment of sampleUv.x is delayed, so we perform it here. see WriteIncrementSampleX.
const char* texSampleIncrementUnit;