In SDL when using the same SDL_Image , when loading, even if the url not correct, no errors occur. Tell me, please, how to check whether the picture has loaded?
SDL
SDL_Image
url
Judging by the dock, it suffices to check that IMG_Load returned a non-zero pointer:
IMG_Load
NULL is returned for errors, or a file reading error.
if(texture) cout << SDL_GetError() << end;
Source: https://ru.stackoverflow.com/questions/133606/More articles:Login verification with regExpHow to add a font to a page?Enter key code in SWTPaste the php code from the file into the site templateBinding a DataGrid to a sheet or database table on WPFJQuery editorDoes the page belong to the userError Cannot access protected property in nginxInherit the previously declared classPublication in the group on “Odnoklassniki”All Articles