]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/quartz/quartzloader.cpp
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / quartz / quartzloader.cpp
index 5493e45bace18709d00084fbc69d4a5ab0a6e6ae..472e066f49665a64356cf1c50d93fba878589487 100644 (file)
@@ -81,7 +81,7 @@ bool QuartzLoader::detect(const string &sig)
        return status==kCGImageStatusIncomplete || status==kCGImageStatusReadingHeader;
 }
 
-void QuartzLoader::load(Image::Data &data)
+void QuartzLoader::load_(Image::Data &data)
 {
        CGImageRef image = CGImageSourceCreateImageAtIndex(priv->source, 0, 0);
        if(!image)