… | |
… | |
784 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Compress Textures"); |
784 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Compress Textures"); |
785 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |
785 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |
786 | state => $CFG->{texture_compression}, |
786 | state => $CFG->{texture_compression}, |
787 | tooltip => "Use texture compression. Normally this will not reduce visual quality noticable but " |
787 | tooltip => "Use texture compression. Normally this will not reduce visual quality noticable but " |
788 | . "will save a lot of memory and increase performance. The compression algorithm " |
788 | . "will save a lot of memory and increase performance. The compression algorithm " |
789 | . "can differ form card to card, so your mileage may vary.", |
789 | . "can differ form card to card, so your mileage may vary. This setting is ignored in " |
|
|
790 | . "forced OpenGL 1.1 mode.", |
790 | on_changed => sub { my ($self, $value) = @_; $CFG->{texture_compression} = $value; 0 } |
791 | on_changed => sub { my ($self, $value) = @_; $CFG->{texture_compression} = $value; 0 } |
791 | ); |
792 | ); |
792 | |
793 | |
793 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Fast & Ugly"); |
794 | $table->add_at (0, $row, new CFPlus::UI::Label valign => 0, align => 1, text => "Fast & Ugly"); |
794 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |
795 | $table->add_at (1, $row++, new CFPlus::UI::CheckBox |