Kaydet (Commit) b9d101e9 authored tarafından Luboš Luňák's avatar Luboš Luňák

restore code comments

These got removed in d115a235 for some reason.

Change-Id: I27eadc7f9f874f420ab0273e0ef2b62af57f6c4a
üst 25f31522
......@@ -127,9 +127,16 @@ void main(void)
int dx = int( tex_coord.s * xdestconvert );
int dy = int( tex_coord.t * ydestconvert );
// How much each column/row will contribute to the resulting pixel.
// Note: These values are always the same for the same X (or Y),
// so they could be precalculated in C++ and passed to the shader,
// but GLSL has limits on the size of uniforms passed to it,
// so it'd need something like texture buffer objects from newer
// GLSL versions, and it seems the hassle is not really worth it.
float xratio[ 16 + 2 ];
float yratio[ 16 + 2 ];
// For finding the first and last source pixel.
int xpixel[ 16 + 2 ];
int ypixel[ 16 + 2 ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment