I’m making a project in C++ that uses SDL, I’ve made my own sprite rendering system and yes, I know it’s bad, I’ve copied the paths and triple checked them so It’s most likely fine, the background shows but sadly the button doesn’t appear but the background does. I’m using two files: the main cpp file which basically includes everything except the image rendering function, and an h file which includes the image rendering function.
The cpp file is here: // Snooping through the files are we?// Compile With: g++ main.cpp loadImage - Pastebin.com
The h file is here: // Snooping through the files now aren't you?// Compile With: g++ main.cpp l - Pastebin.com