LINUX.ORG.RU

История изменений

Исправление bad_master, (текущая версия) :

Да спасибо, вот решение

private Image(int textureObject, String auto1, int i) {
        this.IndexTexture = textureObject;
        this.Name = auto1;
        this.number = i;
        }
...

                img = new Image(t.getTextureObject(gl),"auto1",CountIndexTexture - 1);
                image[CountIndexTexture - 1] = img;

Исходная версия bad_master, :

Да спасибо, вот решение [code=java] private Image(int textureObject, String auto1, int i) { this.IndexTexture = textureObject; this.Name = auto1; this.number = i; } …

            img = new Image(t.getTextureObject(gl),"auto1",CountIndexTexture - 1);
            image[CountIndexTexture - 1] = img;

[/code]