glsl: remove usage of old texture2D* function

This commit is contained in:
degasus
2013-01-19 11:07:06 +01:00
parent d73c950623
commit 8a6f747408
6 changed files with 10 additions and 10 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 = "texture2DRect";
texSampleOpName = "texture";
// the increment of sampleUv.x is delayed, so we perform it here. see WriteIncrementSampleX.
const char* texSampleIncrementUnit;