equal
deleted
inserted
replaced
422 Texture^.Scale:= 2 |
422 Texture^.Scale:= 2 |
423 end |
423 end |
424 else |
424 else |
425 begin |
425 begin |
426 Texture:= Surface2Tex(tmpsurf, false); |
426 Texture:= Surface2Tex(tmpsurf, false); |
427 if (ii = sprWater) and ((cReducedQuality and rq2DWater) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions |
427 if (ii = sprWater) and ((cReducedQuality and (rq2DWater or rqClampLess)) = 0) then // HACK: We should include some sprite attribute to define the texture wrap directions |
428 begin |
428 begin |
429 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); |
429 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); |
430 end; |
430 end; |
431 end; |
431 end; |
432 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, priority); |
432 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, priority); |