Код: Выделить всё
#include
#include
#include
using namespace std;
int main(int argc, char* argv[]) {
SDL_Init(SDL_INIT_VIDEO);
SDL_Window* window = NULL;
window = SDL_CreateWindow("Game", 100, 100, 700, 400, SDL_WINDOW_SHOWN);
if (window = NULL) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/45277725/unable-to-to-load-an-image-to-sdl2-program[/url]
Мобильная версия