… | … | ||
---|---|---|---|
11 | use DC::Macro; | 11 | use DC::Macro; |
12 | 12 | ||
13 | our @ISA = DC::UI::Base::; | 13 | our @ISA = DC::UI::Base::; |
14 | 14 | ||
15 | my $magicmap_tex = | 15 | my $magicmap_tex = |
16 | new_from_file DC::Texture DC::find_rcfile "magicmap.png", | 16 | new_from_resource DC::Texture "magicmap.png", |
17 | mipmap => 1, wrap => 0, internalformat => GL_ALPHA; | 17 | mipmap => 1, wrap => 0, internalformat => GL_ALPHA; |
18 | 18 | ||
19 | sub new { | 19 | sub new { |
20 | my $class = shift; | 20 | my $class = shift; |
21 | 21 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |