implemented basic support for SDL2 in cmake files (only); changed a general idea of how and where are showed deprecation warnings

This commit is contained in:
filux
2015-09-18 19:17:52 +02:00
parent c3e2305e41
commit 6ac255095a
10 changed files with 261 additions and 72 deletions

View File

@@ -32,7 +32,7 @@ namespace ImageRegisterer {
bool registerImageReaders();
//Since you can't call void methods here, I have used a method doing nothing except initializing the image Readers
static bool readersRegistered = registerImageReaders(); //should always return true, this should guarantee that the readers are registered <--> ImageReaders is included anywhere
static bool readersRegistered __attribute__((unused)) = registerImageReaders(); //should always return true, this should guarantee that the readers are registered <--> ImageReaders is included anywhere
}
}} //end namespace