#include <SDL.h>
#include <iostream>
using namespace std;
SDL_Surface * ekran = NULL;
int main(int argc, char * args[])
{
SDL_Init(SDL_INIT_EVERYTHING);
ekran = SDL_SetVideoMode(500, 500, 32, SDL_SWSURFACE);
return 0;
}
uczę się sdl i napotkałem taki problem, wie ktoś może jak to naprawić?
kurs z którego się uczę
SDL_SetVideoMode’ was not declared in this scope; did you mean ‘SDL_ScaleMode’?|