Last change
on this file since 2831 was
2831,
checked in by ldelgass, 12 years ago
|
Refactor texture classes, misc. cleanups, cut down on header pollution -- still
need to fix header deps in Makefile.in
|
-
Property svn:eol-style set to
native
|
File size:
453 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | #include <stdio.h> |
---|
3 | |
---|
4 | #include <map> |
---|
5 | #include <string> |
---|
6 | |
---|
7 | #include "ImageLoader.h" |
---|
8 | #include "ImageLoaderImpl.h" |
---|
9 | |
---|
10 | ImageLoader::ImageLoader() : |
---|
11 | _loaderImpl(NULL) |
---|
12 | { |
---|
13 | } |
---|
14 | |
---|
15 | Image *ImageLoader::load(const char* fileName, const Image::ImageFormat format) |
---|
16 | { |
---|
17 | if (_loaderImpl) { |
---|
18 | _loaderImpl->_targetImageFormat = format; |
---|
19 | return _loaderImpl->load(fileName); |
---|
20 | } |
---|
21 | |
---|
22 | return 0; |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.