Ben Holmes <[email protected]> writes:
[snip]
> +        glEnable(GL_TEXTURE_2D);
> +     glEnable(GL_BLEND);
> +     glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
[snip]
> +static void
> +loadTex()
> +{
> +     int height = 2;
> +        int width = 2;
> +        int i, j;
> +
> +             GLfloat texDepthData[width][height];
> +     for (i=0; i < width; ++i) {
> +             for (j=0; j < height; ++j) {
[snip]
> +     //depth texture 0 using LUMINANCE
> +        glGenTextures(3, tex);
> +        glBindTexture(GL_TEXTURE_2D, tex[0]);
> +     glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_FALSE);
[snip]

And so on.  Looks like your editor is outputting a mix of spaces and
tabs.

-tom

------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to